Secunia Logo
Netsikker nu! 2008
 
Maran PHP Forum "name" PHP Code Execution
Secunia Advisory: SA24968
Release Date: 2007-04-23
Last Update: 2007-04-27
Popularity: 4,255 views

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

Software:Maran PHP Forum

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-2182


Description:
Dj7xpl has discovered a vulnerability in Maran PHP Forum, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "name" parameter in forum_write.php is not properly sanitised before it is written to the filename from the "page" parameter plus an additional ".txt" string. This can be exploited to execute arbitrary PHP code by including PHP code in "name" and NULL bytes in "page".

Successful exploitation requires that "magic_quotes_gpc" is disabled.

Solution:
Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
Dj7xpl

Changelog:
2007-04-27: Added CVE reference.

Original Advisory:
http://0day.2600.ir/exploits/3775


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. phpBB "url" bbcode Script Insertion Vulnerability // 37 views
2. My PHP Indexer "d" File Disclosure Vulnerability // 32 views
3. phpBB BBcode "url" Script Insertion Vulnerability // 30 views
4. WinFTP "PASV" Denial of Service Vulnerability // 30 views
5. Joomla Ignite Gallery Component "gallery" SQL Injection // 27 views
6. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 26 views
7. MunzurSoft Wep Portal W3 "kat" SQL Injection Vulnerability // 21 views
8. Real Estates Classifieds "cat" SQL Injection Vulnerability // 21 views
9. chm2pdf Insecure Temporary Directories // 21 views
10. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 20 views