Vulnerabilities > CVE-2004-1423 - Code Injection vulnerability in PHP-Calendar
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Multiple PHP remote file inclusion vulnerabilities in Sean Proctor PHP-Calendar before 0.10.1, as used in Commonwealth of Massachusetts Virtual Law Office (VLO) and other products, allow remote attackers to execute arbitrary PHP code via a URL in the phpc_root_path parameter to (1) includes/calendar.php or (2) includes/setup.php.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Exploit-Db
description PHP-Calendar < 0.10.1 - Arbitrary File Inclusion. CVE-2004-1423. Webapps exploit for PHP platform id EDB-ID:43819 last seen 2018-01-24 modified 2014-12-29 published 2014-12-29 reporter Exploit-DB source https://www.exploit-db.com/download/43819/ title PHP-Calendar < 0.10.1 - Arbitrary File Inclusion id EDB-ID:2608
Nessus
NASL family | CGI abuses |
NASL id | PHPCALENDAR_FILE_INCLUDE.NASL |
description | The remote web server is running PHP-Calendar, a web-based calendar written in PHP. The remote version of this software is vulnerable to a file inclusion flaw that could allow an attacker to execute arbitrary PHP commands on the remote host. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 16071 |
published | 2004-12-29 |
reporter | This script is Copyright (C) 2004-2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/16071 |
title | PHP-Calendar Multiple Script phpc_root_path Parameter Remote File Inclusion |
code |
|
References
- http://marc.info/?l=bugtraq&m=110434580716205&w=2
- http://marc.info/?l=bugtraq&m=110434580716205&w=2
- http://secunia.com/advisories/22516
- http://secunia.com/advisories/22516
- http://securitytracker.com/id?1017107
- http://securitytracker.com/id?1017107
- http://sourceforge.net/project/shownotes.php?release_id=296020&group_id=46800
- http://sourceforge.net/project/shownotes.php?release_id=296020&group_id=46800
- http://www.gulftech.org/?node=research&article_id=00060-12292004
- http://www.gulftech.org/?node=research&article_id=00060-12292004
- http://www.securityfocus.com/archive/1/449397/100/0/threaded
- http://www.securityfocus.com/archive/1/449397/100/0/threaded
- http://www.securityfocus.com/bid/12127
- http://www.securityfocus.com/bid/12127
- http://www.securityfocus.com/bid/20657
- http://www.securityfocus.com/bid/20657
- http://www.vupen.com/english/advisories/2006/4145
- http://www.vupen.com/english/advisories/2006/4145
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18710
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18710
- https://exchange.xforce.ibmcloud.com/vulnerabilities/29710
- https://exchange.xforce.ibmcloud.com/vulnerabilities/29710
- https://www.exploit-db.com/exploits/2608
- https://www.exploit-db.com/exploits/2608