Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA19285

PHP iCalendar File Inclusion and Calendar Upload Vulnerabilities
Secunia Advisory SA19285
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2006-03-21
   
Popularity 10,113 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact Exposure of sensitive information
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
PHP iCalendar 2.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2006-1291 CVSS available in Customer Area
CVE-2006-1292 CVSS available in Customer Area
  

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
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: PHP iCalendar File Inclusion and Calendar Upload Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability