Gammarays has discovered a vulnerability in LS simple guestbook, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "message" parameter in index.php is not properly sanitised before it is written to the posts.txt file, which is included by the index.php script. This can be exploited to execute arbitrary PHP code.
The vulnerability is confirmed in version 1. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: Gammarays
Original Advisory: http://milw0rm.com/exploits/3735
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 firstname.lastname@example.org
Subject: LS simple guestbook "message" 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.