Right, but hacker can exploit with:
http://www.piratesahoy.net/index.php...okie)</script>
Cross-Site Scripting via Multiple SQL Injection Vulnerabilities!!!
The script is vulnerable to SQL injections. The injection opportunity is after the "ORDER BY" keywords in the SQL query, so the "UNION" method will not work to exploit this opportunity. However, Akog displays SQL error messages (implemented in database.php.) Therefore, an attacker could pass in script code as part of the injected SQL that generates an SQL error, thereby transforming the SQL injection vulnerability into a cross-site scripting vulnerability. One example of this technique is with SQL injection in it:
http://host/index.php?option=com_ako...unc=detail&id=[SQL code]
which could be exploited as:
http://host/index.php?option=com_ako...unc=detail&id=[SQL code]><script>alert(document.cookie)</script>
earlier is vulnerable.