Vulnerability ID: HTB22911
Reference: http://www.htbridge.ch/advisory/xss_in_eleanor_cms.html
Product: Eleanor CMS
Vendor: Eleanor CMS ( http://eleanor-cms.ru/ )
Vulnerable Version: rc5
Vendor Notification: 22 March 2011
Vulnerability Type: XSS (Cross Site Scripting)
Status: Fixed by Vendor
Risk level: Medium
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)
Vulnerability Details:
The vulnerability exists due to failure in the "admin.php" script to properly sanitize user-supplied input in "whereform" variable.
User can execute arbitrary JavaScript code within the vulnerable application.
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.
The following PoC is available:
[code]
POST /admin.php HTTP/1.1
user_name=111&pass=222&whereform="><script>alert("XSS");</script>&submit=%C2%EE%E9%F2%E8
[/code]
Solution: Upgrade to the most recent version