Calendarix Advanced Include File Flaw Lets Remote Users Execute Commands and Input Validation Holes Permit SQL Injection and Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1014083 |
|
SecurityTracker URL: http://securitytracker.com/id/1014083
|
|
CVE Reference:
CAN-2005-1864, CAN-2005-1865, CAN-2005-1866
(Links to External Site)
|
Updated: Jun 9 2005
|
Original Entry Date: May 31 2005
|
Impact:
Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
|
Exploit Included: Yes
|
|
Description:
Several vulnerabilities were reported in Calendarix Advanced. A remote user can inject SQL commands and conduct cross-site scripting attacks. A remote user can execute arbitrary commands on the target system.
The 'admin/cal_admintop.php' includes the 'cal_utils.php' file relative to the user-supplied 'calpath' parameter without properly validating the parameter. A remote user can supply a specially crafted parameter value to cause the target system to include and execute arbitrary PHP code from a remote location. The PHP code, including operating system commands, will run with the privileges of the target web service.
Several scripts do not properly validate user-supplied input before composing SQL queries based on that input or displaying that input. A remote user can supply specially crafted parameter values to execute SQL commands on the underlying database. A remote user can also create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Calendarix software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Some demonstration exploit values are provided:
cal_day.php?op=day&date=2005-05-03&catview=1[sql]/*
cal_pophols.php?id=999'[sql]/*
calendar.php?op=cal&month=5&year=2'%3Ch1%3DarkBicho005&catview=1
cal_week.php?op=week&catview= 999'[sql]/*
cal_cat.php?op=cats&catview=999'[sql]*/
Miguel Sumaran (DarkBicho) reported this vulnerability.
|
Impact:
A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.
A remote user can execute SQL commands on the underlying database.
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Calendarix software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
|
Solution:
No solution was available at the time of this entry.
|
Vendor URL: www.calendarix.com/ (Links to External Site)
|
Cause:
Input validation error, State error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Tue, 31 May 2005 12:22:16 -0500
Subject: multiple vulnerability Calendarix Advanced
|
/***********************************************
* Advisorie : 01-0005-15
* title: multiple vulnerability
* Software: Calendarix Advanced
* Date: 28. April 2005
* Web: http://www.calendarix.com/
************************************************/
- Affected software description:
Webcalendar is a web software write in php y mysql
- Expoit:
Include
line 16
admin/cal_admintop.php:include_once ($calpath."cal_utils.php");
xss and sql injection
line 122 - 160
cal_day.php?op=day&date=2005-05-03&catview=1[sql]/*
cal_pophols.php?id=999'[sql]/*
line 23
calendar.php?op=cal&month=5&year=2'%3Ch1%3DarkBicho005&catview=1
line 194 - 196
cal_week.php?op=week&catview= 999'[sql]/*
line 34 - 39
cal_cat.php?op=cats&catview=999'[sql]*/
- How to fix:
Vendor no responds
- Credits:
DarkBicho
Email: darkbicho@gmail.com
Web: http://www.swp-scene.org
- Grettings:
"A mi Team SWP"
" Viva el Peru Carajo"
--
- - - - - - - - - - - - - - - - - - - - - - - - -
Miguel Sumaran (DarkBicho)
webpage: http://www.darkbicho.tk/
Team : http://www.swp-scene.org/
Made in Peru
- - - - - - - - - - - - - - - - - - - - - - - - -
|
|