---------------------------------------------------------------------- Secunia Network Software Inspector 2.0 (NSI) - Public Beta The Public Beta has ended. Thanks to all that participated. Learn more: http://secunia.com/network_software_inspector_2/ ---------------------------------------------------------------------- TITLE: Maian Music Cross-Site Scripting and SQL Injection SECUNIA ADVISORY ID: SA30066 VERIFY ADVISORY: http://secunia.com/advisories/30066/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Manipulation of data WHERE: >From remote SOFTWARE: Maian Music 1.x http://secunia.com/product/18604/ DESCRIPTION: 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.Crash ORIGINAL ADVISORY: http://archives.neohapsis.com/archives/bugtraq/2008-05/0049.html ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------