Vulnerability ID: HTB22407 Reference: http://www.htbridge.ch/advisory/stored_xss_vulnerability_in_anecms_blog_module.html Product: AneCMS Vendor: AneCMS Team Vulnerable Version: 1.3 and Probably Prior Versions Vendor Notification: 28 May 2010 Vulnerability Type: Stored XSS (Cross Site Scripting) Status: Fixed by Vendor Risk level: Medium Credit: High-Tech Bridge SA (http://www.htbridge.ch/)
The vulnerability exists due to failure in the blog module script "/modules/blog/index.php" to properly sanitize user-supplied input in "comment" 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 by entering in comment text area for example "hello <script>alert(document.cookie)</script>".
Solution: Upgrade to the most recent version