TITLE:
dnGuestbook admin.php SQL Injection Vulnerability
SECUNIA ADVISORY ID:
SA19601
VERIFY ADVISORY:
http://secunia.com/advisories/19601/
CRITICAL:
Moderately critical
IMPACT:
Manipulation of data
WHERE:
>From remote
SOFTWARE:
dnGuestbook 2.x
http://secunia.com/product/9270/
DESCRIPTION:
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
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.