Secunia Logo
 
PhpWiki "UpLoad" PHP Script Upload Vulnerability
Secunia Advisory: SA24888
Release Date: 2007-04-13
Last Update: 2007-04-19
Popularity: 8,578 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Unpatched

Software:PhpWiki 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-2024
CVE-2007-2025


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.

Changelog:
2007-04-18: Added CVE reference.
2007-04-19: Added CVE reference.

Original Advisory:
PhpWiki:
http://www.nabble.com/Important-UpLoa...A-upload-security-risk--t3543463.html

Other References:
US-CERT VU#914793:
http://www.kb.cert.org/vuls/id/914793


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. Apple iPhone / iPod touch Multiple Vulnerabilities // 30 views
2. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 27 views
3. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 24 views
4. vBulletin Visitor Messages Script Insertion Vulnerability // 23 views
5. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 22 views
6. SemanticScuttle Cross-Site Scripting Vulnerabilities // 22 views
7. Fedora update for thunderbird // 21 views
8. Easyedit CMS Multiple SQL Injection Vulnerabilities // 21 views
9. Checkpoint VPN-1 Information Disclosure Vulnerability // 20 views
10. Sun Java JDK / JRE Multiple Vulnerabilities // 20 views