SQL Injection in PHP-Nuke module(SPChat)
A SQL injection vulnerability exists in the PHP-Nuke module(SPChat) which allows an attacker to pull out user details from the database. The vulnerability is triggered when a malicious user sends a specially crafted HTTP request to the vulnerable module. The vulnerable parameter is ‘youruid’ which is located in the URL ‘modules.php?op=modload&name=SPChat&file=chooser&youruid=[SQL Injection]’. An attacker can exploit this vulnerability by sending a malicious SQL query to the vulnerable parameter. For example, ‘http://www.example.com/modules.php?op=modload&name=SPChat&file=chooser&youruid=0+UNION+SELECT+pwd,2,3,4,5,6,7,8+FROM+nuke_authors+LIMIT+0,1’. Note that the attacker needs to be a regular user to exploit this vulnerability.