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')