phpBB usercp_register.php signature_bbcode_uid Variable SQL Injection

2005-10-31T11:29:51
ID OSVDB:20390
Type osvdb
Reporter Stefan Esser(sesser@hardened-php.net)
Modified 2005-10-31T11:29:51

Description

Vulnerability Description

phpBB contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the 'usercp_register.php' script not properly sanitizing user-supplied input to the 'signature_bbcode_uid' 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' and the register_globals PHP option is 'off'.

Solution Description

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

Short Description

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

References:

Vendor Specific Advisory URL Security Tracker: 1015121 Secunia Advisory ID:18098 Secunia Advisory ID:17366 Related OSVDB ID: 20387 Related OSVDB ID: 20389 Related OSVDB ID: 20388 Related OSVDB ID: 20391 Related OSVDB ID: 20386 Other Advisory URL: http://www.hardened-php.net/advisory_172005.75.html Mail List Post: http://archives.neohapsis.com/archives/fulldisclosure/2005-10/0637.html FrSIRT Advisory: ADV-2005-2250 CVE-2005-3419 Bugtraq ID: 15243