WebCal Multiple HTML Injection and Cross-Site Scripting Vulnerabilities
BID:15917
Info
WebCal Multiple HTML Injection and Cross-Site Scripting Vulnerabilities
| Bugtraq ID: | 15917 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 16 2005 12:00AM |
| Updated: | Dec 16 2005 12:00AM |
| Credit: | Stan Bubrouski is credited with the discovery of these vulnerabilities. |
| Vulnerable: |
WebCal WebCal 3.0 4 |
| Not Vulnerable: | |
Discussion
WebCal Multiple HTML Injection and Cross-Site Scripting Vulnerabilities
WebCal is prone to multiple HTML injection and cross-site scripting vulnerabilities. These issues are due to a failure in the application to properly sanitize user-supplied input before using it in dynamically generated content.
Attacker-supplied HTML and script code would be executed in the context of the affected Web site, potentially allowing for theft of cookie-based authentication credentials. An attacker could also exploit the HTML injection issue to control how the site is rendered to the user; other attacks are also possible.
These issues affect version 3.04; earlier versions may also be vulnerable.
WebCal is prone to multiple HTML injection and cross-site scripting vulnerabilities. These issues are due to a failure in the application to properly sanitize user-supplied input before using it in dynamically generated content.
Attacker-supplied HTML and script code would be executed in the context of the affected Web site, potentially allowing for theft of cookie-based authentication credentials. An attacker could also exploit the HTML injection issue to control how the site is rendered to the user; other attacks are also possible.
These issues affect version 3.04; earlier versions may also be vulnerable.
Exploit / POC
WebCal Multiple HTML Injection and Cross-Site Scripting Vulnerabilities
No exploit is required.
The following proof of concept URI are available:
http://www.example.com/perl/webcal.cgi?function=<script>alert(document.cookie)</script>&cal=public
http://www.example.com/perl/webcal.cgi?function=webyear&cal=public&year=<script>alert(document.cookie)</script>
http://www.example.com/perl/webcal.cgi?function=webday&cal=public&date=<script>alert(document.cookie)</script>
No exploit is required.
The following proof of concept URI are available:
http://www.example.com/perl/webcal.cgi?function=<script>alert(document.cookie)</script>&cal=public
http://www.example.com/perl/webcal.cgi?function=webyear&cal=public&year=<script>alert(document.cookie)</script>
http://www.example.com/perl/webcal.cgi?function=webday&cal=public&date=<script>alert(document.cookie)</script>
Solution / Fix
WebCal Multiple HTML Injection and Cross-Site Scripting Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
References
WebCal Multiple HTML Injection and Cross-Site Scripting Vulnerabilities
References:
References:
- WebCal Homepage (WebCal)
- Advisory: XSS in WebCal (v1.11-v3.04) (Stan Bubrouski
)