Some Chess board.php gameID Variable SQL Injection

2006-06-29T08:19:07
ID OSVDB:26784
Type osvdb
Reporter OSVDB
Modified 2006-06-29T08:19:07

Description

Vulnerability Description

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

Solution Description

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

Short Description

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

Manual Testing Notes

http://[target]/board.php?do=display&gameID=[code]

References:

Vendor URL: http://www.astrodogpress.org/chess/ Vendor Specific News/Changelog Entry: http://sourceforge.net/forum/forum.php?forum_id=586734 Secunia Advisory ID:20885 FrSIRT Advisory: ADV-2006-2609 CVE-2006-3485 Bugtraq ID: 18745