|
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.
|