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

PhpWiki "UpLoad" PHP Script Upload Vulnerability

-

Release Date:  2007-04-13    Last Update:  2007-04-19    Views:  16,269

Secunia Advisory SA24888

Where:

From remote

Impact:

System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


A vulnerability has been discovered in PhpWiki, which can be exploited by malicious people to compromise a vulnerable system.

The "UpLoad" wiki page (index.php/UpLoad) fails to properly validate the extension of an uploaded file. The blacklist of disallowed file extensions does not include for example ".php3" and ".phtml". This can be exploited to upload files with such extensions and execute arbitrary PHP code on the server.

Successful exploitation requires being logged in and that the webserver is configured to execute PHP scripts with such extensions. In the default configuration of PhpWiki, no registration or validation is necessary to log in.

NOTE: The vulnerability is currently being actively exploited.

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


Solution:
Disable the UpLoad functionality by giving the file "lib/plugin/UpLoad.php" the permissions 000 or by moving the file outside of the web tree.

Provided and/or discovered by:
Discovered as a 0-day.

Original Advisory:
PhpWiki:
http://www.nabble.com/Important-UpLoad-security-fix%21-was--Fwd%3A--phpwiki---Open-Discussion--RE%3A-upload-security-risk--t3543463.html

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: PhpWiki "UpLoad" PHP Script 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