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

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

缺陷编号:wooyun-2015-0145060

漏洞标题:创意人插画网getshell

相关厂商:chuangyiren.cn

漏洞作者: 1c3z

提交时间:2015-10-08 10:39

修复时间:2015-10-13 10:40

公开时间:2015-10-13 10:40

漏洞类型:成功的入侵事件

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-08: 细节已通知厂商并且等待厂商处理中
2015-10-13: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

阿里云的主机
菜刀连着连着就被封IP 了

详细说明:

源码泄露
http://chuangyiren.cn/.git/
扒源码
protected/config/main.php

'connectionString' => 'mysql:host=localhost;dbname=ccihr',
'emulatePrepare' => true,
'username' => 'ccihr',
'password' => 'Uc7fehxc3',
'charset' => 'utf8',


找上传
uploadify/uploadify.php

$fileTypes  = str_replace('*.','',$_REQUEST['fileExt']); //文件扩展名竟然来自前台
$fileTypes = str_replace(';','|',$fileTypes);
$typesArray = split('\|',$fileTypes);
$fileParts = pathinfo($_FILES['Filedata']['name']);
if (in_array($fileParts['extension'],$typesArray)) {
if (!empty($_FILES)) {
$tempFile = $_FILES['Filedata']['tmp_name'];
$targetPath = $_SERVER['DOCUMENT_ROOT'] . $_REQUEST['folder'] . '/';
$targetFile = str_replace('//','/',$targetPath) . $_FILES['Filedata']['name'];
move_uploaded_file($tempFile,$targetFile);
echo str_replace($_SERVER['DOCUMENT_ROOT'],'',$targetFile);


getshell

选区_295.png


连数据库

选区_294.png


一看是

漏洞证明:

选区_293.png


修复方案:

删除.git

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-10-13 10:40

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无