TankLogger SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1109622 漏洞类型 SQL注入
发布时间 2006-01-12 更新时间 2006-01-16
CVE编号 CVE-2006-0209 CNNVD-ID CNNVD-200601-133
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/27075
https://cxsecurity.com/issue/WLB-2006010029
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200601-133
|漏洞详情
TankLogger2.4的general_functions.php中存在SQL注入漏洞,远程攻击者可以通过(1)showInfo.php的livestock_id参数以及(2)可能是livestock.php的tank_id参数执行任意SQL命令。
|漏洞EXP
source: http://www.securityfocus.com/bid/16228/info

TankLogger is prone to multiple SQL injection vulnerabilities. These issues are due to a failure in the application to properly sanitize user-supplied input before using it in an SQL query.

Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation. 

http://www.example.com/exp/tanklogger/showInfo.php? livestock_id=99'% 20union%20select% 201,2,3,4,5, 6,7,8,9/*
|参考资料

来源:VUPEN
名称:ADV-2006-0153
链接:http://www.frsirt.com/english/advisories/2006/0153
来源:MISC
链接:http://evuln.com/vulns/26/summary.html
来源:XF
名称:tanklogger-generalfunctions-sql-injection(24080)
链接:http://xforce.iss.net/xforce/xfdb/24080
来源:BID
名称:16228
链接:http://www.securityfocus.com/bid/16228
来源:BUGTRAQ
名称:20060112[eVuln]TankLoggerSQLInjectionVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/421743/100/0/threaded
来源:OSVDB
名称:22369
链接:http://www.osvdb.org/22369
来源:OSVDB
名称:22368
链接:http://www.osvdb.org/22368
来源:SREASON
名称:341
链接:http://securityreason.com/securityalert/341
来源:SECUNIA
名称:18441
链接:http://secunia.com/advisories/18441
来源:VIM
名称:20060113VerifiedTankLoggerSQlinjectbysourceinspection
链接:http://attrition.org/pipermail/vim/2006-January/000480.html