ImpressPages CMS 1.0.4 sort_field SQL Injection

2010-05-28T00:00:00
ID PACKETSTORM:90062
Type packetstorm
Reporter High-Tech Bridge SA
Modified 2010-05-28T00:00:00

Description

                                        
                                            `Vulnerability ID: HTB22385  
Reference: http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_impresspages_cms_1.html  
Product: ImpressPages CMS  
Vendor: Apro Media  
Vulnerable Version: 1.0.4 and Probably Prior Versions  
Vendor Notification: 12 May 2010   
Vulnerability Type: SQL Injection  
Status: Fixed by Vendor  
Risk level: Low   
Credit: High-Tech Bridge SA (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in the "/admin.php" script to properly sanitize user-supplied input in "sort_field" 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.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:   
  
  
http://host/admin.php?module_id=355&road[]=384&security_token=$valid_token&sort_field[1]=email+ANY_SQL_HERE+--+&sort_dir[1]=asc  
  
  
Solution: Upgrade to the most recent version  
`