PHP iCalendar index.php script allows file include
| php icalendar-index-file-include (22864) |
Description:
PHP iCalendar could allow execution of arbitrary code. A remote attacker could send a specially-crafted cookie in a URL request to the index.php script using the phpicalendar cookie parameter to include malicious PHP code from a remote system which would enable the attacker to execute arbitrary code on the vulnerable system.
Platforms Affected:
- PHP iCalendar, PHP iCalendar 2.0.1
- PHP iCalendar, PHP iCalendar 2.0a2
- PHP iCalendar, PHP iCalendar 2.0b
- PHP iCalendar, PHP iCalendar 2.0c
Remedy:
Upgrade to the latest CVS version of PHP iCalendar, available from the PHP iCalendar Web site. See References.
Consequences:
Gain Access
References:
- Full-Disclosure Mailing List, Fri Oct 07 2005 - 04:32:45 CDT, PHP iCalendar CSS at http://archives.neohapsis.com/archives/fulldisclosure/2005-10/0512.html.
- PHP iCalendar Main Page, PHP iCalendar Documentation at http://www.phpicalendar.net/index.php?page=calendar.
- ush.it - a beautiful place, PHP iCalendar CSS at http://www.ush.it/2005/10/25/php-icalendar-css/.
- BID-15193: PHP ICalendar Default_View Remote File Include Vulnerability
- CVE-2005-3366: PHP file inclusion vulnerability in index.php in PHP iCalendar 2.0a2 through 2.0.1 allows remote attackers to execute arbitrary PHP code and include arbitrary local files via the phpicalendar cookie. NOTE: this is not a cross-site scripting (XSS) issue as claimed by the original researcher.
- SA17328: PHP iCalendar "phpicalendar" File Inclusion Vulnerability
- SECTRACK ID: 1015102: PHP iCalendar Input Validation Holes Permit Remote Code Execution and Cross-Site Scripting Attacks
- VUPEN/ADV-2005-2204: PHP iCalendar phpicalendar Remote PHP File Inclusion Vulnerability
Reported:
Oct 25, 2005
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
