[webapps / 0day] - Elxis CMS 2009.2 SQL Injection Vulnerabil
Posted on 30 November 2010
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta http-equiv='Content-Language' content='en' /><title>Elxis CMS 2009.2 SQL Injection Vulnerabilities | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='Elxis CMS 2009.2 SQL Injection Vulnerabilities by High-Tech Bridge . in webapps / 0day | Inj3ct0r 1337 - exploit database : vulnerability : 0day : shellcode' /><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss' /><script type='text/javascript'>var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-12725838-1"]);_gaq.push(["_setDomainName", "none"]);_gaq.push(["_setAllowLinker", true]);_gaq.push(["_trackPageview"]);(function(){var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);})();</script></head><body><pre>============================================== Elxis CMS 2009.2 SQL Injection Vulnerabilities ============================================== Product: Elxis CMS Vendor: Elxis Team ( http://www.elxis.org/ ) Vulnerable Version: 2009.2 electra Vendor Notification: 16 November 2010 Vulnerability Type: SQL Injection Status: Fixed by Vendor Risk level: High Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) Vulnerability Details: The vulnerability exists due to failure in the "/index.php" script to properly sanitize user-supplied input in usercookie[password] variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database. The following PoC is available: GET /index.php HTTP/1.1 Cookie: usercookie[username]=username; usercookie[password]=123'SQL_CODE_HERE Solution: Upgrade to the most recent version Vulnerability Details: The vulnerability exists due to failure in the "/index.php" script to properly sanitize user-supplied input in X_FORWARDED_FOR variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database. The following PoC is available: POST /index.php?option=com_poll&Itemid=17 HTTP/1.1 X_FORWARDED_FOR: 123'SQL_CODE_HERE Content-Type: application/x-www-form-urlencoded Content-Length: 66 voteid=1&option=com_poll&task=vote&id=1&Itemid=17&task_button=Vote Solution: Upgrade to the most recent version # <a href='http://1337db.com/'>1337db.com</a> [2010-11-30]</pre></body></html>