[3/5] Maian Music Cross-Site Scripting and SQL Injection
:Khashayar Fereidani has reported some vulnerabilities in Maian Music, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.1) Input passed to the "album" parameter in index.php (if "cmd" is set to "album") is not properly sanitised before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.Successful exploitation requires that "magic_quotes_gpc" is disabled.2) Input passed to the "keywords" parameter in index.php (if "cmd" is set to "search") and to the "msg_script" parameter in admin/inc/footer.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user’s browser session in context of an affected site.Successful exploitation of the "msg_script" parameter requires that "register_globals" is enabled.The vulnerabilities are reported in 1.1. Other versions may also be affected.Solution:Edit the source code to ensure that input is properly sanitised.Provided and/or discovered by:Khashayar Fereidani a.k.a. Dr.CrashOriginal Advisory:http://archives.neohapsis.com/archives/bugtraq/2008-05/0049.html
Original post by pooja
Posted in Advisories - Exploits |
| [3/5] Maian Music Cross-Site Scripting and SQL Injection