SECUNIA ADVISORY ID: SA23486
VERIFY ADVISORY: http://secunia.com/advisories/23486/
CRITICAL: Highly critical
IMPACT: Security Bypass, Manipulation of data, System access
SOFTWARE: PHP-Update 2.x - http://secunia.com/product/12926/
DESCRIPTION: Some vulnerabilities have been reported in PHP-Update, which can be exploited by malicious people to bypass certain security restrictions and conduct SQL injection attacks and by malicious users to compromise a vulnerable system.
1) An insecure authentication method in admin/uploads.php can be exploited to bypass authentication and upload files by passing the value "1" to the "rights[7]" parameter.
2) The admin/uploads.php script fails to validate the extension of an uploaded file, which can be exploited to upload files with arbitrary extensions (e.g. ".php") and execute arbitrary PHP code on the server.
Successful exploitation requires valid user credentials, but can be combined with #1.
3) Input passed to the "newname" parameter in code/guestadd.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation may disclose the administrator username and password, but requires that the system is running MySQL 4.1 or later.
Vulnerabilities #1 and #2 are confirmed in version 2.7 MySQL edition but not in version 2.7 flat file edition. Vulnerability #3 is reported in version 2.7 MySQL edition.
SOLUTION:
Edit the source code to ensure that input is properly sanitised and that authentication is done correctly.
Use another product.
PROVIDED AND/OR DISCOVERED BY:
1+2) undefined1_
2+3) rgod
ORIGINAL ADVISORY:
1+2) http://www.milw0rm.com/exploits/3020
2+3) http://www.milw0rm.com/exploits/3017
PHP-Update Multiple VulnerabilitiesPosted on Thursday, December 28, 2006 @ 16:49:05 CST in Security |

Related


