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" 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.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: PHP-Update Multiple Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.