ThWboard misc.php userid Variable SQL Injection

2005-12-07T00:00:00
ID OSVDB:21739
Type osvdb
Reporter trueend5(trueend5@kapda.ir)
Modified 2005-12-07T00:00:00

Description

Vulnerability Description

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

Solution Description

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

Short Description

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

Manual Testing Notes

http://[victim]/thwb/misc.php?action=ge...st&userid='[SQL]

References:

Related OSVDB ID: 21741 Related OSVDB ID: 21742 Related OSVDB ID: 21740 Related OSVDB ID: 21737 Related OSVDB ID: 21738 Other Advisory URL: http://kapda.ir/advisory-149.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2005-12/0065.html CVE-2005-4139 Bugtraq ID: 15763