Bug: AssetMan v2.5-b SQL Injection using Session Fixation Attack (WLB-2008090148 Ascii Version)

English Version
WLB2

CVE WLB2

 Topic: AssetMan v2.5-b SQL Injection using Session Fixation Attack
 Credit: Neo Anderson & Rohit Bansal
 Date: 2008.09.24
 CWE: CWE-89 (Show similar)
 CVE: CVE-2008-4161 (Show details)

Use CVE to see details like:
- CVSS2,
- Affected Software,
- References

Risk
Local
Remote
Medium
No
Yes

============================================================
AssetMan v2.5-b SQL Injection using Session Fixation Attack
============================================================

AUTHOR : Neo Anderson & Rohit Bansal
DATE : 19th Sept,2008
Email : neo.whizzy@gmail.com & rohitisback@gmail.com

#####################################################

# Site : http://www.bctree.com/~assetman
# Bug : SQL Injection using Session Fixation Attack
# File : search_inv.php
# Variable : GET variable 'order_by'

#####################################################

# Impact of Vulnerability:

By exploiting this vulnerability, an attacker may conduct a session fixation attack. In a session fixation attack, the
attacker fixes the user's session ID before the user even logs into the target server, thereby eliminating the need to
obtain the user's session ID afterwards.

#####################################################

# Bug explanation - Session Fixation Attack/Meta Tag Exploitation:

By injecting a custom HTTP header or by injecting a META tag, it is possible to alter the cookies stored in the browser.
Attackers will normally manipulate cookie values to fraudulently authenticate themselves on a web site.

#####################################################

# PoC:

http://127.0.0.1/assetman/search_inv.php?action=search_all&order_by=%3Cmeta+http-equiv='Set-cookie'+content='=value'
%3E&order=DESC+limit+1,1--

#####################################################
# GreeTz
InfySec , str0ke & EvilFingers

www.infysec.com
www.evilfingers.com

#####################################################

References:

http://www.securityfocus.com/bid/31248
http://www.milw0rm.com/exploits/6490
http://secunia.com/advisories/31935

[ ASCII VERSION ]

Copyright 2012, cxsecurity.com