Eleanor CMS rc5 Cross Site Scripting / SQL Injection

2011-04-05T00:00:00
ID PACKETSTORM:100105
Type packetstorm
Reporter High-Tech Bridge SA
Modified 2011-04-05T00:00:00

Description

                                        
                                            `=================================  
Vulnerability ID: HTB22912  
Reference: http://www.htbridge.ch/advisory/multiple_sql_injections_in_eleanor_cms.html  
Product: Eleanor CMS  
Vendor: Eleanor CMS ( http://eleanor-cms.ru/ )   
Vulnerable Version: rc5  
Vendor Notification: 22 March 2011   
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 "download.php" & "upload.php" scripts to properly sanitize user-supplied input in "module" 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:  
  
[code]  
http://[host]/download.php?module=1%27  
http://[host]/upload.php?module=1%27  
[/code]  
Solution: Upgrade to the most recent version  
  
  
=================================  
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  
`