Two vulnerabilities have been reported in SimpleBBS, which can be exploited by malicious people to compromise a vulnerable system.
1) Input passed to the "name" parameter when adding a new topic isn't properly sanitised before being stored in a PHP script. This can be exploited to inject and execute arbitrary PHP code.
The vulnerability has been confirmed in version 1.1 and has also been reported in prior versions. Other versions may also be affected.
2) Input passed to the "language" cookie parameter in "data/posts.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources.
This can further be exploited to include arbitrary PHP code injected into the "logs/error.log" file via the "gl_session" cookie parameter.
The vulnerability has been reported in versions 1.0 and 1.1. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
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: SimpleBBS PHP Code Injection and Local File Inclusion Vulnerabilities
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.