Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Highly critical

PHP-Update blog.php Multiple Vulnerabilities

-

Release Date:  2006-12-20    Last Update:  2006-12-22    Views:  9,297

Secunia Advisory SA23407

Where:

From remote

Impact:

Security Bypass, Manipulation of data, System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

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

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

Deep Links:
Links available to Secunia VIM customers

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 vuln@secunia.com

Subject: PHP-Update blog.php Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability