Title: WebCalendar index.php includedir Function Remote File Inclusion
Info
Disclosure
May 30, 2006
Discovery
Unknown
Dates
Exploit
May 30, 2006
Solution
Unknown
Description
WebCalendar contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to includes/config.php not properly sanitizing user input supplied to the 'includedir' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.
This can be exploited further to disclose the content of arbitrary files by including a malicious settings.php file which overwrites the "user_inc" variable and will allow arbitrary local file disclosure.
Classification
Location:
Remote / Network Access
Attack Type:
Input Manipulation
Impact:
Loss of Integrity
Exploit:
Exploit Public
OSVDB:
Web Related
Solution
Upgrade to version 1.0.4 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.