CVE-2008-5968

PHP iCalendar <2.24 - Path Traversal

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-5968. PoCs published by EgiX.

AI-analyzed exploit summary This exploit combines a Local File Inclusion (LFI) vulnerability with a file upload flaw in PHP iCalendar <= 2.24. It uploads a malicious .ics file containing PHP code, then leverages the LFI via a manipulated cookie to execute arbitrary commands.

Description

Directory traversal vulnerability in print.php in PHP iCalendar 2.24 and earlier allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the cookie_language parameter in a phpicalendar_* cookie, a different vector than CVE-2006-1292.

Exploits (1)

exploitdb WORKING POC VERIFIED
by EgiX · phpwebappsphp
https://www.exploit-db.com/exploits/6519

This exploit combines a Local File Inclusion (LFI) vulnerability with a file upload flaw in PHP iCalendar <= 2.24. It uploads a malicious .ics file containing PHP code, then leverages the LFI via a manipulated cookie to execute arbitrary commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PHP iCalendar <= 2.24
No auth needed
Prerequisites: Target must have PHP iCalendar <= 2.24 installed · Web server must allow .ics files to be interpreted as PHP · Admin interface must be accessible
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/48322
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/6519

Scores

EPSS 0.0292
EPSS Percentile 85.2%

Details

CWE
CWE-22
Status published
Products (15)
phpicalendar/phpicalendar 0.7
phpicalendar/phpicalendar 0.8
phpicalendar/phpicalendar 0.9
phpicalendar/phpicalendar 0.9.5
phpicalendar/phpicalendar 1.0
phpicalendar/phpicalendar 1.1
phpicalendar/phpicalendar 2.0 beta
phpicalendar/phpicalendar 2.0.1
phpicalendar/phpicalendar 2.0c
phpicalendar/phpicalendar 2.1
... and 5 more
Published Jan 26, 2009
Tracked Since Feb 18, 2026