Bugtraq mailing list archives

HTB22881: SQL injection vulnerability in CosmoShop


From: advisory () htbridge ch
Date: Thu, 10 Mar 2011 10:26:31 +0100 (CET)

Vulnerability ID: HTB22881
Reference: http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_cosmoshop.html
Product: CosmoShop
Vendor: Zaunz Publishing GmbH ( http://www.cosmoshop.de/ ) 
Vulnerable Version: ePRO V10.05.00
Vendor Notification: 24 February 2011 
Vulnerability Type: Blind SQL Injection
Status: Fixed by Vendor
Risk level: Low 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) 

Vulnerability Details:
The vulnerability exists due to failure in the "cgi-bin/admin/index.cgi" script to properly sanitize user-supplied 
input in "id" 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/cgi-bin/admin/index.cgi?action=menu&id=eco'+SQL_CODE&hId=eco
Solution: Upgrade to the most recent version


Current thread: