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
Original Advisory: http://0day.2600.ir/exploits/3775
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com
Subject: Maran PHP Forum "name" PHP Code Execution
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.