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

LightBlog Security Bypass and File Upload Vulnerabilities

-

Release Date:  2007-10-10    Last Update:  2007-10-11    Views:  6,226

Secunia Advisory SA27164

Where:

From remote

Impact:

Security Bypass, Manipulation of data, System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


BlackHawk has discovered two vulnerabilities in LightBlog, which can be exploited by malicious people to bypass certain security restrictions and to compromise a vulnerable system.

1) The main.php script fails to validate the extension of an uploaded file. This can be exploited to upload files with arbitrary extensions (e.g. ".php") and execute arbitrary PHP code on the server.

2) The cp_memberedit.php script does not properly restrict access to logged in users. This can be exploited to give a user administrator privileges.

Successful exploitation of this vulnerability requires that "register_globals" is enabled.

The vulnerabilities are confirmed in version 8.5 and reported in version 8.4.1.1. Other versions may also be affected.


Solution:
Restrict access to cp_memberedit.php (e.g. with an ".htaccess" file). Implement whitelisting functionality that only lets people upload files with certain extensions.

Further details available to Secunia VIM customers

Provided and/or discovered by:
BlackHawk

Original Advisory:
http://milw0rm.com/exploits/4505

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: LightBlog Security Bypass and File Upload 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