DWdirectory search.php search Variable SQL Injection

2007-12-09T00:00:00
ID OSVDB:39113
Type osvdb
Reporter OSVDB
Modified 2007-12-09T00:00:00

Description

Vulnerability Description

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

Solution Description

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

Short Description

DWdirectory search.php search Variable SQL Injection

Manual Testing Notes

http://[target]/search?search=null'+and+1=2+UNION+ALL+SELECT+concat(username,char(58),password),2,3,4+FROM+users//LIMIT//0,1/*&submit=Search

References:

Secunia Advisory ID:27990 ISS X-Force ID: 38938 Generic Exploit URL: http://www.milw0rm.com/exploits/4708 FrSIRT Advisory: ADV-2007-4177 CVE-2007-6392 Bugtraq ID: 26779