Secunia Logo
 
PHP iCalendar Multiple Cross-Site Scripting Vulnerabilities
Secunia Advisory: SA23499
Release Date: 2006-12-28
Last Update: 2007-12-21
Popularity: 9,773 views

Critical:
Less critical
Impact: Cross Site Scripting
Where: From remote
Solution Status: Partial Fix

Software:PHP iCalendar 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-6824


Description:
Lostmon has discovered some vulnerabilities in PHP iCalendar, which can be exploited by malicious people to conduct cross-site scripting attacks.

1) Input passed to the "getdate" parameter in phpicalendar/day.php, phpicalendar/week.php, phpicalendar/month.php, phpicalendar/year.php, phpicalendar/search.php, phpicalendar/preferences.php, phpicalendar/print.php, and phpicalendar/rss/index.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities are confirmed in versions 2.23rc1 and 2.24. Other versions may also be affected.

2) Input passed to the "cpath" parameter in phpicalendar/day.php, phpicalendar/week.php, phpicalendar/month.php, phpicalendar/year.php, and phpicalendar/search.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities are confirmed in version 2.23rc1. Other versions may also be affected.

3) Input passed to the "query" parameter in phpicalendar/search.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities are confirmed in version 2.23rc1. Other versions may also be affected.

Solution:
Update to version 2.24, which fixes vulnerabilities #2 and #3. Edit the source code to ensure the input is properly sanitised.

Provided and/or discovered by:
Lostmon

Additional information by Jose Luis Góngora Fernández.

Changelog:
2007-01-02: Added CVE reference.
2007-12-21: Updated "Description" and "Solution" sections.

Original Advisory:
http://lostmon.blogspot.com/2006/12/php-icalendar-multiple-variable-cross.html


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.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 43 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 40 views
3. Apple QuickTime Multiple Vulnerabilities // 32 views
4. Microsoft XML Core Services Multiple Vulnerabilities // 29 views
5. phpBB "url" bbcode Script Insertion Vulnerability // 25 views
6. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 24 views
7. phpBB BBcode "url" Script Insertion Vulnerability // 23 views
8. Apple iPhone / iPod touch Multiple Vulnerabilities // 22 views
9. phpBB Avatar Script Insertion Vulnerability // 22 views
10. Microsoft Word Smart Tag Invalid Length Processing Vulnerability // 21 views