Vulnerability ID: HTB22981 Reference: http://www.htbridge.ch/advisory/multiple_xss_cross_site_scripting_vulnerabilities_in_php_calendar_basic.html Product: PHP Calendar Basic Vendor: Kubelabs.com ( http://www.kubelabs.com/ ) Vulnerable Version: 2.3 and probably prior versions Vendor Notification: 03 May 2011 Vulnerability Type: XSS (Cross Site Scripting) Risk level: Medium Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) Vulnerability Details: User can execute arbitrary JavaScript code within the vulnerable application. 1. The vulnerability exists due to failure in the "index.php" script to properly sanitize user-supplied input in "year" and "month" variables. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data. An attacker can use browser to exploit this vulnerability. The following PoC is available: http://host/index.php?month=5">&year=2011"> 2. The vulnerability exists due to failure in the "/event_add.php" script to properly sanitize user-supplied input in "title" variable. The following PoC is available:
3. The vulnerability exists due to failure in the "/event_delete.php" script to properly sanitize user-supplied input in "id" variable. The following PoC is available: http://host/event_delete.php?day=28&month=4&year=2011&id=1">