Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:25073
HistoryNov 04, 2010 - 12:00 a.m.

SQL injection in SweetRice CMS

2010-11-0400:00:00
vulners.com
646

Vulnerability ID: HTB22667
Reference: http://www.htbridge.ch/advisory/sql_injection_in_sweetrice_cms.html
Product: SweetRice CMS
Vendor: basic-cms.org ( http://www.basic-cms.org/ )
Vulnerable Version: 0.6.7
Vendor Notification: 21 October 2010
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 "/index.php" scripts to properly sanitize user-supplied input.
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]/index.php?action=attachment&file_name=%27
http://[host]/index.php?action=show_comment&post=%27
http://[host]/index.php?action=rssfeed&type=entry&sys-name=%27
http://[host]/index.php?action=view&sys-name=%27

Solution: Upgrade to the most recent version