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

DotClear "ecrire/images.php" File Upload Vulnerability

-

Release Date:  2008-04-16    Last Update:  2008-07-30    Views:  5,724

Secunia Advisory SA29819

Where:

From remote

Impact:

System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


Morgan ARMAND has discovered a vulnerability in DotClear, which can be exploited by malicious users to compromise a vulnerable system.

The ecrire/images.php script fails to validate the extension of an uploaded file. This can be exploited to upload files with the ".php" extension and execute arbitrary PHP code on the server, by creating a file that is both a syntactically correct PHP script and an image that the PHP function getimagesize() considers correct.

Successful exploitation requires valid advanced editor or administrator credentials, and having set write permissions on the "images/" directory.

The vulnerability is confirmed in version 1.2.7.1. Other versions may also be affected.


Solution:
Only grant advanced editor or administrator access to trusted users.

Further details available to Secunia VIM customers

Provided and/or discovered by:
Morgan ARMAND

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: DotClear "ecrire/images.php" File Upload Vulnerability

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