Vulnerability ID: HTB22975 Reference: http://www.htbridge.ch/advisory/sql_injection_in_calendarix.html Product: Calendarix Vendor: http://www.calendarix.com ( http://www.calendarix.com ) Vulnerable Version: 0.8.20080808 Vendor Notification: 26 April 2011 Vulnerability Type: SQL Injection Risk level: High Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) Vulnerability Details: The vulnerability exists due to failure in the "cal_login.php" script to properly sanitize user-supplied input in "login" variable when "password" variable empty. 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: <form action="http://[host]/cal_login.php?op=login" method="post" name="main" /> <input type="hidden" name="login" value="'SQL_CODE_HERE"/> <input type="hidden" name="password" value=""/> <input type="submit" value="submit"/> </form>