TITLE:
SmallNuke “user_email” SQL Injection Vulnerability

SECUNIA ADVISORY ID:
SA28301

VERIFY ADVISORY:
http://secunia.com/advisories/28301/

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data

WHERE:
From remote

SOFTWARE:
SmallNuke 2.x
http://secunia.com/product/17115/

DESCRIPTION:
Eugene Minaev has discovered a vulnerability in SmallNuke, which can
be exploited by malicious people to conduct SQL injection attacks.

Input passed to the “user_email” parameter in index.php is not
properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that “magic_quotes_gpc” is
disabled.

The vulnerability is confirmed in version 2.0.3. Other versions may
also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
Eugene Minaev

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/4863