Secunia Logo  
 
PHP-Update blog.php Multiple Vulnerabilities
Secunia Advisory: SA23407
Release Date: 2006-12-20
Last Update: 2006-12-22
Popularity: 5,346 views

Critical:
Highly critical
Impact: Security Bypass
Manipulation of data
System access
Where: From remote
Solution Status: Unpatched

Software:PHP-Update 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-6661


Description:
rgod has discovered some vulnerabilities in PHP-Update, which can be exploited by malicious people to bypass certain security restrictions and by malicious users to compromise vulnerable systems and manipulate data.

1) The security bypass vulnerability is caused due to an insecure authentication method in blog.php. This can be exploited to bypass authentication and post blog entries by passing the value "1" to the parameters "adminuser" and "permission".

2) Input passed to the "newmessage" parameter in blog.php is not properly sanitised before being written to a web-accessible file. This can be exploited to execute arbitrary PHP code.

Successful exploitation requires valid user credentials (but see 1).

3) Input passed to the "f" parameter in blog.php is not properly sanitised before being used to write files. This can be exploited to create and overwrite arbitrary files with the file extension ".php" via directory traversal attacks.

Successful exploitation requires valid user credentials (but see 1).

The vulnerabilities are confirmed in version 2.7 flat file edition but not in version 2.7 MySQL edition. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised and that authentication is done correctly.

Provided and/or discovered by:
rgod

Changelog:
2006-12-22: Added CVE reference.

Original Advisory:
http://www.milw0rm.com/exploits/2953


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Mambo "GLOBALS['mosConfig_absolute_path']" File Inclusion // 28 views
2. Drupal Project Module File Upload and Cross-Site Scripting // 25 views
3. ArticleBeach Script "page" File Inclusion Vulnerability // 23 views
4. Cisco Global Site Selector DNS Request Denial of Service // 19 views
5. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 19 views
6. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 19 views
7. SmbFTPD Long Command Processing Vulnerability // 19 views
8. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 18 views
9. Microsoft Word Malformed Object Pointer Vulnerability // 17 views
10. PHP-Fusion Members CV Module "sortby" SQL Injection Vulnerability // 17 views