Description
Multiple cross-site scripting (XSS) vulnerabilities in Jim Hu and Chad Little PHP iCalendar 2.23 rc1 and earlier allow remote attackers to inject arbitrary web script or HTML via the (1) getdate parameter in (a) day.php, (b) month.php, (c) year.php, (d) week.php, (e) search.php, (f) rss/index.php, (g) print.php, and (h) preferences.php; the (2) cpath parameter in (i) day.php, (j) month.php, (k) year.php, (l) week.php, and (m) search.php; the (3) query parameter in search.php; and possibly the cpath, (4) unset, and (5) set parameters in a setcookie action in preferences.php; different vectors than CVE-2006-3319. NOTE: it was later reported that vectors b, c, and d also affect 2.24.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 8
- PHP iCalendar 1.1/2.x - 'day.php' Cross-Site Scripting EDB-29363 · webapps · Dec 27, 2006 · verified
- PHP iCalendar 1.1/2.x - 'month.php' Cross-Site Scripting EDB-29364 · webapps · Dec 27, 2006 · verified
- PHP iCalendar 1.1/2.x - 'year.php' Cross-Site Scripting EDB-29365 · webapps · Dec 27, 2006 · verified
- PHP iCalendar 1.1/2.x - 'week.php' Cross-Site Scripting EDB-29366 · webapps · Dec 27, 2006 · verified
- PHP iCalendar 1.1/2.x - 'search.php' Cross-Site Scripting EDB-29367 · webapps · Dec 27, 2006 · verified
- PHP iCalendar 1.1/2.x - 'getdate' Cross-Site Scripting EDB-29368 · webapps · Dec 27, 2006 · verified
- PHP iCalendar 1.1/2.x - 'print.php' Cross-Site Scripting EDB-29369 · webapps · Dec 27, 2006 · verified
- PHP iCalendar 1.1/2.x - 'preferences.php' Cross-Site Scripting EDB-29370 · webapps · Dec 27, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 32498 vdb-entry
- 32493 vdb-entry
- http://lostmon.blogspot.com/2006/12/php-icalendar-multiple-variable-cross.html
- 32496 vdb-entry
- 20071220 PHP iCalendar <= 2.24 - Cross-Site Scripting Vulnerability mailing-list
- 32500 vdb-entry
- 1017449 vdb-entry
- 32495 vdb-entry
- 21792 vdb-entry
- 32497 vdb-entry
- 32499 vdb-entry
- 23499 third-party-advisory
- 32494 vdb-entry
- phpicalendar-multiple-scripts-xss(31146) vdb-entry