|
PHP iCalendar File Inclusion and Calendar Upload Vulnerabilities
|
|
Secunia Advisory:
|
SA19285
|
|
|
Release Date:
|
2006-03-21
|
|
Popularity:
|
7,649 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
Exposure of sensitive information System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | PHP iCalendar 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-1291 CVE-2006-1292
|
|
Description: rgod has discovered two vulnerabilities in PHP iCalendar, which can be exploited by malicious people to disclose potentially sensitive information and to compromise a vulnerable system.
1) Input passed to the "cookie_language" and the "cookie_style" parameters in the "phpicalendar" cookie is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.
The vulnerability may be related to:
SA17328
2) Missing access control to the calendar upload directory can be exploited to upload arbitrary PHP files by passing a specially-crafted PUT request with a filename containing a NULL character in the "X-WR-CALNAME" parameter to publish.ical.php.
Successful exploitation requires that "phpicalendar_publishing" is set to 1 in config.inc.php.
The vulnerabilities have been confirmed in version 2.21. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised. Disable the calendar upload functionality.
Provided and/or discovered by: rgod
Original Advisory: http://www.milw0rm.com/exploits/1585
http://www.milw0rm.com/exploits/1586
Other References: SA17328:
http://secunia.com/advisories/17328/
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|