snatcher has discovered a vulnerability in dnGuestbook, which can be exploited by malicious people to conduct SQL injection attacks.
Input passed to the "email" and "id" parameters in admin.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires that "magic_quotes_gpc" is disabled.
The vulnerability has been confirmed in version 2.0. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: snatcher
Original Advisory: http://milw0rm.com/exploits/1653
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