OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA18441] TankLogger "tank_id" SQL Injection Vulnerability

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Fri Jan 13 2006 - 13:32:11 CST


TITLE:
TankLogger "tank_id" SQL Injection Vulnerability

SECUNIA ADVISORY ID:
SA18441

VERIFY ADVISORY:
http://secunia.com/advisories/18441/

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data

WHERE:
From remote

SOFTWARE:
TankLogger 2.x
http://secunia.com/product/6804/

DESCRIPTION:
Aliaksandr Hartsuyeu has discovered a vulnerability in TankLogger,
which can be exploited by malicious people to conduct SQL injection
attacks.

Input passed to the "tank_id" parameter in "livestock.php" isn't
properly sanitised before being used in a SQL query. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

The "livestock_id" parameter passed in "showInfo.php" is reportedly
also affected.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

The vulnerability has been confirmed in version 2.4. Other versions
may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
Aliaksandr Hartsuyeu

ORIGINAL ADVISORY:
http://evuln.com/vulns/26/summary.html

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------