PHP iCalendar Input Validation Flaw in 'rss/index.php' Permits Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1016402
|
|
SecurityTracker URL: http://securitytracker.com/id?1016402
|
|
CVE Reference: CVE-2006-3319
(Links to External Site)
|
Updated: Aug 12 2008
|
Original Entry Date: Jun 28 2006
|
Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Exploit Included: Yes
|
Version(s): 2.1 and prior versions
|
Description: A vulnerability was reported in PHP iCalendar. A remote user can conduct cross-site scripting attacks.
The 'rss/index.php' script does not properly filter HTML code from user-supplied input in the 'cal' parameter before displaying the
input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code
to be executed by the target user's browser. The code will originate from the site running the PHP iCalendar software and will
run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication
cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take
actions on the site acting as the target user.
A demonstration exploit URL is provided:
http://[target]/phpicalendar/rss/index.php?cal=[XSS]
botan
reported this vulnerability.
The original advisory is available at:
http://kurdishsecurity.blogspot.com/2006/06/kurdish-security-12-php-icalendar.html
[Editor's
note: It appears that the error handling process changed from version 2.1 to version 2.2 so that version 2.2 and later versions
are not vulnerable.]
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the
PHP iCalendar software, access data recently submitted by the target user via web form to the site, or take actions on the site
acting as the target user.
|
Solution: No solution was available at the time of this entry.
[Editor's note: It appears that version 2.2 and later versions are not affected.]
|
Vendor URL: www.phpicalendar.net/ (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
Reported By: botan@linuxmail.org
|
Message History:
None.
|
Source Message Contents
|
Date: Wed, 28 Jun 2006 18:14:42 +0000
From: botan@linuxmail.org
Subject: PHP iCalendar Cross Site Scripting
|
>> K.S Advisory
>> irc.gigachat.net #kurdhack
>> Thanx : Netqurd,Azad,B3g0k,Fearless,Milex,Flot,Zay_Boy,PH,KHA,KCA and other my friends
>> Version : All Version
Proof Of Concept :
http://www.site.com/phpicalendar/rss/index.php?cal=[XSS]
Original Advisory :
http://kurdishsecurity.blogspot.com/2006/06/kurdish-security-12-php-icalendar.html
EoF
|
|