Vulnerability ID: HTB22709 Reference: http://www.htbridge.ch/advisory/sql_injection_in_enano_cms.html Product: Enano CMS Vendor: enanocms.org ( http://enanocms.org/ ) Vulnerable Version: 1.1.7pl1 Vendor Notification: 16 November 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" script to properly sanitize user-supplied input in email 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.
The following PoC is available:
Step1. Register new user with email: "firstname.lastname@example.org'SQL_CODE"
Step2. Log in with new login and password. Solution: Upgrade to the most recent version