4images member.php sessionid Variable SQL Injection

2006-04-28T06:02:38
ID OSVDB:25154
Type osvdb
Reporter CrAzY CrAcKeR(CrAzY.CrAcKeR@hotmail.com)
Modified 2006-04-28T06:02:38

Description

Vulnerability Description

4images contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the 'member.php' script not properly sanitizing user-supplied input to the 'sessionid' variable. This may allow an attacker to inject or manipulate SQL queries in the backend database.

Technical Description

This vulnerability is only present when the magic_quotes_gpc PHP option is 'on'.

Solution Description

Upgrade to version 1.7.2 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Short Description

4images contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the 'member.php' script not properly sanitizing user-supplied input to the 'sessionid' variable. This may allow an attacker to inject or manipulate SQL queries in the backend database.

Manual Testing Notes

/member.php?action=mailform&user_id=366&sessionid=[SQL]

References:

Vendor URL: http://www.4homepages.de/ Secunia Advisory ID:19908 Related OSVDB ID: 25153 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-05/0012.html Mail List Post: http://attrition.org/pipermail/vim/2006-May/000747.html FrSIRT Advisory: ADV-2006-1604 CVE-2006-2214 Bugtraq ID: 17748