Vulnerabilities > CVE-2002-0013 - Permissions, Privileges, and Access Controls vulnerability in Snmp

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
snmp
CWE-264
critical
nessus
exploit available

Summary

Vulnerabilities in the SNMPv1 request handling of a large number of SNMP implementations allow remote attackers to cause a denial of service or gain privileges via (1) GetRequest, (2) GetNextRequest, and (3) SetRequest messages, as demonstrated by the PROTOS c06-SNMPv1 test suite. NOTE: It is highly likely that this candidate will be SPLIT into multiple candidates, one or more for each vendor. This and other SNMP-related candidates will be updated when more accurate information is available.

Vulnerable Configurations

Part Description Count
Application
Snmp
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.

Exploit-Db

descriptionCisco IOS 11/12 Malformed SNMP Message Denial of Service Vulnerabilities. CVE-2002-0013. Dos exploit for hardware platform
idEDB-ID:21296
last seen2016-02-02
modified2002-02-12
published2002-02-12
reporterkundera
sourcehttps://www.exploit-db.com/download/21296/
titleCisco IOS 11/12 Malformed SNMP Message Denial of Service Vulnerabilities

Nessus

  • NASL familyCISCO
    NASL idCSCDW67458.NASL
    descriptionThere is a vulnerability in the way the remote device handles SNMP messages. An attacker may use this flaw to crash the remote device continuously. This vulnerability is documented as Cisco bug ID CSCdw67458.
    last seen2020-06-01
    modified2020-06-02
    plugin id10987
    published2002-06-05
    reporterThis script is Copyright (C) 2002-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/10987
    titleCisco Malformed SNMP Message Handling DoS (CSCdw67458)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    # Script audit and contributions from Carmichael Security
    #      Erik Anderson <[email protected]> (nb: domain no longer exists)
    #      Added BugtraqID and CAN
    #     
    
    include("compat.inc");
    
    if(description)
    {
     script_id(10987);
     script_version("1.29");
     script_cve_id("CVE-2002-0012", "CVE-2002-0013");
     script_bugtraq_id(4088, 4132);
    
     script_name(english:"Cisco Malformed SNMP Message Handling DoS (CSCdw67458)");
    
     script_set_attribute(attribute:"synopsis", value:
    "The remote device is missing a vendor-supplied security patch." );
     script_set_attribute(attribute:"description", value:
    "There is a vulnerability in the way the remote device handles
    SNMP messages. An attacker may use this flaw to crash the remote
    device continuously.
    
    This vulnerability is documented as Cisco bug ID CSCdw67458." );
     script_set_attribute(attribute:"solution", value:
    "http://www.nessus.org/u?a1f3c81e
    
    Reference : http://online.securityfocus.com/archive/1/255807" );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
     script_cwe_id(264);
    
     script_set_attribute(attribute:"plugin_publication_date", value: "2002/06/05");
     script_cvs_date("Date: 2018/06/27 18:42:25");
     script_set_attribute(attribute:"vuln_publication_date", value: "2002/02/12");
     script_set_attribute(attribute:"plugin_type", value:"local");
     script_set_attribute(attribute:"cpe", value: "cpe:/o:cisco:ios");
     script_end_attributes();
    
     script_summary(english:"Uses SNMP to determine if a flaw is present");
     script_category(ACT_GATHER_INFO);
     script_copyright(english:"This script is Copyright (C) 2002-2018 Tenable Network Security, Inc.");
     script_family(english:"CISCO");
     script_dependencie("snmp_sysDesc.nasl", "snmp_cisco_type.nasl");
     script_require_keys("SNMP/community", "SNMP/sysDesc", "CISCO/model");
     exit(0);
    }
    
    # The code starts here
    
    ok=0;
    os = get_kb_item("SNMP/sysDesc"); if(!os)exit(0);
    hardware = get_kb_item("CISCO/model"); if(!hardware)exit(0);
    
    
    # Check for the required hardware...
    #----------------------------------------------------------------
    # catalyst.*
    if(ereg(string:hardware, pattern:"^catalyst.*$"))ok=1;
    
    if(!ok)exit(0);
    ok = 0;
    
    
    # Check for the required operating system...
    #----------------------------------------------------------------
    # Is this CatOS ?
    if(!egrep(pattern:".*Cisco Catalyst Operating System.*", string:os))exit(0);
    # 4.5
    if(egrep(string:os, pattern:"(4\.5\(([0-9]|1[0-2])\)|4\.5),"))ok=1;
    
    # 5.1CSX
    if(egrep(string:os, pattern:"(5\.1\([0-0]\)|5\.1)CSX[0-9]*,"))ok=1;
    
    # 5.1
    if(egrep(string:os, pattern:"(5\.1\([0-1]\)|5\.1),"))ok=1;
    
    # 5.2CSX
    if(egrep(string:os, pattern:"(5\.2\([0-2]\)|5\.2)CSX[0-9]*,"))ok=1;
    
    # 5.2
    if(egrep(string:os, pattern:"(5\.2\([0-6]\)|5\.2),"))ok=1;
    
    # 5.3CSX
    if(egrep(string:os, pattern:"(5\.3\([0-5]\)|5\.3)CSX[0-9]*,"))ok=1;
    
    # 5.4
    if(egrep(string:os, pattern:"(5\.4\([0-3]\)|5\.4),"))ok=1;
    
    # 5.5
    if(egrep(string:os, pattern:"(5\.5\([0-6]\)|5\.5),"))ok=1;
    
    # 5.5
    if(egrep(string:os, pattern:"(5\.5\(([0-9]|1[0-2])\)|5\.5),"))ok=1;
    
    # 6.1
    if(egrep(string:os, pattern:"(6\.1\([0-3]\)|6\.1),"))ok=1;
    
    # 6.2
    if(egrep(string:os, pattern:"(6\.2\([0-2]\)|6\.2),"))ok=1;
    
    # 6.3X
    if(egrep(string:os, pattern:"((6\.3\([0-2]\)|6\.3)X[0-9]*|6\.3\(3\)X[0-0]),"))ok=1;
    
    # 6.3
    if(egrep(string:os, pattern:"(6\.3\([0-4]\)|6\.3),"))ok=1;
    
    # 7.1
    if(egrep(string:os, pattern:"(7\.1\([0-1]\)|7\.1),"))ok=1;
    
    
    #----------------------------------------------
    
    if(ok)security_hole(port:161, proto:"udp");
    
  • NASL familySNMP
    NASL idSNMP_OVERSIZED_LENGTH_FIELD_DOS.NASL
    descriptionIt was possible to disable the remote SNMP daemon by sending a malformed packet advertising bogus length fields. An attacker may use this flaw to prevent you from using SNMP to administer your network (or use other flaws to execute arbitrary code with the privileges of the SNMP daemon).
    last seen2020-06-01
    modified2020-06-02
    plugin id10857
    published2002-02-13
    reporterThis script is Copyright (C) 2002-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/10857
    titleMultiple Vendor Malformed SNMP Message-Handling DoS
  • NASL familyWindows : Microsoft Bulletins
    NASL idSMB_NT_MS02-006.NASL
    descriptionA buffer overrun is present in the SNMP service on the remote host. By sending a malformed management request, an attacker could cause a denial of service and possibly cause code to run on the system in the LocalSystem context.
    last seen2020-06-01
    modified2020-06-02
    plugin id10865
    published2002-02-22
    reporterThis script is Copyright (C) 2002-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/10865
    titleMS02-006: Malformed SNMP Management Request Remote Overflow (314147)
  • NASL familyCISCO
    NASL idCISCO-SA-20020212-SNMP-MSGSHTTP.NASL
    descriptionMultiple Cisco products contain vulnerabilities in the processing of Simple Network Management Protocol (SNMP) messages. The vulnerabilities can be repeatedly exploited to produce a denial of service. In most cases, workarounds are available that may mitigate the impact. These vulnerabilities are identified by various groups as VU#617947, VU#107186, OUSPG #0100, CVE-2002-0012, and CVE-2002-0013.
    last seen2019-10-28
    modified2010-09-01
    plugin id48963
    published2010-09-01
    reporterThis script is (C) 2010-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/48963
    titleMalformed SNMP Message-Handling Vulnerabilities - Cisco Systems

Oval

  • accepted2011-05-16T04:02:40.839-04:00
    classvulnerability
    contributors
    • nameHarvey Rubinovitz
      organizationThe MITRE Corporation
    • nameHarvey Rubinovitz
      organizationThe MITRE Corporation
    • nameShane Shaffer
      organizationG2, Inc.
    • nameSudhir Gandhe
      organizationTelos
    • nameShane Shaffer
      organizationG2, Inc.
    descriptionVulnerabilities in the SNMPv1 request handling of a large number of SNMP implementations allow remote attackers to cause a denial of service or gain privileges via (1) GetRequest, (2) GetNextRequest, and (3) SetRequest messages, as demonstrated by the PROTOS c06-SNMPv1 test suite. NOTE: It is highly likely that this candidate will be SPLIT into multiple candidates, one or more for each vendor. This and other SNMP-related candidates will be updated when more accurate information is available.
    familywindows
    idoval:org.mitre.oval:def:298
    statusaccepted
    submitted2003-10-10T12:00:00.000-04:00
    titleWindows 2000 SNMPv1 Trap Handling DoS and Privilege Escalation (Test 2)
    version69
  • accepted2016-02-08T10:00:00.000-05:00
    classvulnerability
    contributors
    • nameHarvey Rubinovitz
      organizationThe MITRE Corporation
    • nameJonathan Baker
      organizationThe MITRE Corporation
    definition_extensions
    commentMicrosoft Windows NT is installed
    ovaloval:org.mitre.oval:def:36
    descriptionVulnerabilities in the SNMPv1 request handling of a large number of SNMP implementations allow remote attackers to cause a denial of service or gain privileges via (1) GetRequest, (2) GetNextRequest, and (3) SetRequest messages, as demonstrated by the PROTOS c06-SNMPv1 test suite. NOTE: It is highly likely that this candidate will be SPLIT into multiple candidates, one or more for each vendor. This and other SNMP-related candidates will be updated when more accurate information is available.
    familywindows
    idoval:org.mitre.oval:def:87
    statusaccepted
    submitted2003-10-10T12:00:00.000-04:00
    titleSNMPv1 Request Handling DoS and Privilege Escalation
    version70

Redhat

advisories
rhsa
idRHSA-2001:163