Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

Overwrite variables eqDKP 1.3.2d and prior (login.php)
From: kefka <kefka () kevinbeardsucks com>
Date: Mon, 25 Jun 2007 21:10:46 -0400

If you want to run old code that relies on register_globals temporarily, 
make sure you use one of the non-overwriting extract_type values such as 
EXTR_SKIP and be aware that you should extract in the same order that's 
defined in variables_order within the php.ini

-----
eqDKP 1.3.2d and prior login.php allows you to overwrite variables.

Impact: At the very least path disclosure via error, but use your 
imagination. :)

Vulnerable Code:
Lines 20 and 21
extract($_GET);
extract($_POST);
-----

path-to-eqdkp/login.php?tpl=fucked
path-to-eqdkp/login.php?user=fucked
path-to-eqdkp/login.php?eqdkp=fucked

And so on... no further evidence required.
If you want a hint on escalating this vulnerability, try overwriting 
variables login.php is going to try call from other scripts.

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


  By Date           By Thread  

Current thread:
  • Overwrite variables eqDKP 1.3.2d and prior (login.php) kefka (Jun 26)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]