HTB22975: SQL injection in Calendarix

Subject: HTB22975: SQL injection in Calendarix

Vulnerability ID: HTB22975
Product: Calendarix
Vendor: ( ) 
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 ( ) 

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"/>

Copyright © 1995-2020 All rights reserved.