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

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

Vulnerabilities in a large number of SNMP implementations allow remote attackers to cause a denial of service or gain privileges via SNMPv1 trap handling, 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.

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 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)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
     script_id(10865);
     script_version("1.49");
     script_cvs_date("Date: 2018/11/15 20:50:29");
    
     # "CVE-2002-0012" and "CVE-2002-0013" too?
     script_cve_id("CVE-2002-0053");
     script_bugtraq_id(4089);
     script_xref(name:"CERT", value:"107186");
     script_xref(name:"CERT", value:"854306");
     script_xref(name:"MSFT", value:"MS02-006");
     script_xref(name:"MSKB", value:"314147");
    
     script_name(english:"MS02-006: Malformed SNMP Management Request Remote Overflow (314147)");
     script_summary(english:"Determines the presence of hotfix Q314147");
    
     script_set_attribute(attribute:"synopsis", value:"Arbitrary code can be executed on the remote host.");
     script_set_attribute(attribute:"description", value:
    "A 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.");
     script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2002/ms02-006");
     script_set_attribute(attribute:"solution", value:"Microsoft has released a set of patches for Windows NT, 2000 and XP.");
     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:U/RL:OF/RC:C");
     script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
     script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
     script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
     script_set_attribute(attribute:"exploit_available", value:"false");
    
     script_set_attribute(attribute:"vuln_publication_date", value:"2002/02/12");
     script_set_attribute(attribute:"patch_publication_date", value:"2002/02/12");
     script_set_attribute(attribute:"plugin_publication_date", value:"2002/02/22");
    
     script_set_attribute(attribute:"plugin_type", value:"local");
     script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows");
     script_end_attributes();
    
     script_category(ACT_GATHER_INFO);
     script_copyright(english:"This script is Copyright (C) 2002-2018 Tenable Network Security, Inc.");
     script_family(english:"Windows : Microsoft Bulletins");
    
     script_dependencies("smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl");
     script_require_keys("SMB/MS_Bulletin_Checks/Possible");
     script_require_ports(139, 445, 'Host/patch_management_checks');
     exit(0);
    }
    
    #
    
    include("smb_func.inc");
    include("smb_hotfixes.inc");
    include("smb_hotfixes_fcheck.inc");
    include("misc_func.inc");
    
    get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");
    
    bulletin = 'MS02-006';
    kb = '314147';
    
    kbs = make_list(kb);
    if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);
    
    
    if ( hotfix_check_sp(nt:7, xp:1, win2k:3) <= 0 ) exit(0);
    
    
    if ( hotfix_missing(name:kb) > 0  )
     {
     set_kb_item(name:"SMB/Missing/"+bulletin, value:TRUE);
     hotfix_add_report(bulletin:bulletin, kb:kb);
     hotfix_security_hole();
     }
    
    
    
  • NASL familySNMP
    NASL idSNMP_OVERSIZED_LENGTH_FIELD_TWO.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 id10858
    published2002-02-13
    reporterThis script is Copyright (C) 2002-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/10858
    titleMultiple Vendor Malformed SNMP Trap Handling DoS
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(10858);
      script_version("1.37");
      script_cvs_date("Date: 2018/11/15 20:50:24");
    
      script_cve_id("CVE-2002-0012");
      script_bugtraq_id(4088);
      script_xref(name:"CERT-CC", value:"CA-2002-03");
    
      script_name(english:"Multiple Vendor Malformed SNMP Trap Handling DoS");
      script_summary(english:"snmpd DoS");
    
      script_set_attribute(attribute:'synopsis', value:"The remote SNMP service is vulnerable to denial of service.");
      script_set_attribute(attribute:'description', value:
    "It 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).");
      script_set_attribute(attribute:'see_also', value:"https://seclists.org/bugtraq/2002/Aug/390");
      script_set_attribute(attribute:'solution', value:"Apply the latest SNMP patches from your vendor.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
      script_cwe_id(264);
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2002/02/12");
      script_set_attribute(attribute:"plugin_publication_date", value:"2002/02/13");
    
      script_set_attribute(attribute:"potential_vulnerability", value:"true");
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_end_attributes();
    
      script_category(ACT_DENIAL);
      script_copyright(english:"This script is Copyright (C) 2002-2018 Tenable Network Security, Inc.");
      script_family(english:"SNMP");
    
      script_dependencie("snmp_settings.nasl");
      script_require_keys("Settings/ParanoidReport", "SNMP/community");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    
    if (report_paranoia < 2) audit(AUDIT_PARANOID);
    
    
    #
    # Crashes IOS 10.x and possibly others. The router reboots by itself
    # in a few seconds.
    #
    # This is based on test case c06-snmpv1-req-enc-r1-1150 of
    # the Protos Test Suite - see
    # http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/snmpv1/
    # for details
    #
    #
    #
    
    community = get_kb_item("SNMP/community");
    if(!community)exit(0);
    
    port = get_kb_item("SNMP/port");
    if(!port) port = 161;
    if (! get_udp_port_state(port)) exit(0, "UDP port "+port+" is not open.");
    
    function snmp_ping()
    {
     local_var COMMUNITY_SIZE, SNMP_BASE, dstport, len, len_hi, len_lo;
     local_var result, sendata, soc, sz;
    
     SNMP_BASE = 31;
    	COMMUNITY_SIZE = strlen(community);
    
    	sz = COMMUNITY_SIZE % 256;
    
    
    	len = SNMP_BASE + COMMUNITY_SIZE;
    	len_hi = len / 256;
    	len_lo = len % 256;
    	sendata = raw_string(
    		0x30, 0x82, len_hi, len_lo,
    		0x02, 0x01, 0x00, 0x04,
    		sz);
    
    
    	sendata = sendata + community +
    		raw_string( 0xA1,
    		0x18, 0x02, 0x01, 0x01,
    		0x02, 0x01, 0x00, 0x02,
    		0x01, 0x00, 0x30, 0x0D,
    		0x30, 0x82, 0x00, 0x09,
    		0x06, 0x05, 0x2B, 0x06,
    		0x01, 0x02, 0x01, 0x05,
    		0x00);
    
    
    	dstport = port;
    	soc = open_sock_udp(dstport);
    	send(socket:soc, data:sendata);
    	result = recv(socket:soc, length:4096, timeout:3);
            close(soc);
    	if(result)return(1);
    	else return(0);
    
    }
    
    
    if(snmp_ping())
    {
    sz = strlen(community);
    sz = sz % 256;
    
    
    pkt = string(raw_string(0x30, 0x2b, 0x02, 0x01, 0x00, 0x04,
    sz), community, raw_string( 0xa0, 0x1e, 0x02, 0x02, 0x04,
    0x7e, 0x02, 0x01, 0x00,
    0x02, 0x01, 0x00, 0x30, 0x12, 0x30, 0x10, 0x06,
    0x84, 0x7F, 0xFF, 0xFF, 0xFF, 0x2B, 0x06, 0x01,
    0x02, 0x1, 0x01, 0x05, 0x00, 0x05, 0x00));
    
    
    
    soc = open_sock_udp(port);
    send(socket:soc, data:pkt);
    close(soc);
    if(!snmp_ping())security_warning(port:port, protocol:"udp");
    }
    
  • 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
    code
    #TRUSTED 72bc6bfad0c5bbbfb4bd0d18e2617ad77f37a61b2db7da93d0798e276d6fa3b738555889f656bc5f9eb98a631677ab579cd341703c1f655caf81def6da1dd7183ed9bd85c4ac6b3971689777b5d0818f2c30463d25da141f9cc0874da4b9cc8fde629314a2ece62b8d9e4f1b7d208d019cb7fa06b455d83ca9a26835e0b3fbb17f88b8a8e190c1e0f862eaed7d9883810c77500e0e24b4cda7f28292e0c1186ce8a54624ba462ef105995273172d8fc55423594597658931002c7402ac0cd81c31f2bcfe075aeaf4e6784ccb804951c5479d76b86355568402105c52f12702d0a0a555b4dd594ca2ced09407670111c7279fcf050cc7fd0245b11b1d76c129fdca1086359f672c0652c521d77efc3488424dab01c0a67bd371f6e10d4814710fb9902c73830ac89cb60def90f252fd1ef64bce62e540d79c00ed5f2fe2d8208703e31dc9598006fb0fa89898e24a907c0b52332e18f2b27d668d39d55d7f0802883217f3c99229700a92183eba77b75972e406ab1742d8ed0fb9ca60a956262c9d702e3d7acb8edfc3463bb9db6ba3d4901c56f310b0e34905a2c9c11dd991cef0f57b0d3512cd2e85be53a2765efa94dd320888b023243007cb3844268243d4a82f4f900244b78be9b01e9729fbd24f685b2610862eb56e78abe8d2997453f9b726c5095cd49e98729bf63d131cef4e00b9b70d5f35f2ed720526b9afa451a8
    #
    # (C) Tenable Network Security, Inc.
    #
    # Security advisory is (C) CISCO, Inc.
    # See http://www.cisco.com/en/US/products/csa/cisco-sa-20020212-snmp-msgs.html
    
    if (NASL_LEVEL < 3000) exit(0);
    
    include("compat.inc");
    
    if (description)
    {
     script_id(48963);
     script_version("1.20");
     script_set_attribute(attribute:"plugin_modification_date", value:"2018/11/15");
     script_cve_id("CVE-2002-0012", "CVE-2002-0053");
     script_bugtraq_id(4088);
     script_xref(name:"CERT-CC", value:"107186");
     script_xref(name:"CERT-CC", value:"854306");
     script_xref(name:"CERT-CC", value:"CA-2002-03");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdm63334");
     script_xref(name:"CISCO-BUG-ID", value:"CSCds53023");
     script_xref(name:"CISCO-BUG-ID", value:"CSCds87560");
     script_xref(name:"CISCO-BUG-ID", value:"CSCds89640");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdt11503");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdt14805");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdt20091");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdt41731");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdt83999");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdu06427");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdu47447");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdu82770");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdu89682");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdv04606");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdv22261");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdv43903");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdv48776");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdv48842");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdv57565");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdv60119");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdv66527");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdv73848");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdw03959");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdw62592");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdw62852");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdw63089");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdw65903");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdw68469");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdw72930");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdw78210");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdw89845");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdx14656");
     script_xref(name:"CISCO-BUG-ID", value:"CSCdx27170");
     script_xref(name:"CISCO-BUG-ID", value:"CSCea29276");
     script_xref(name:"CISCO-BUG-ID", value:"CSCin01208");
     script_xref(name:"CISCO-BUG-ID", value:"CSCin01557");
     script_xref(name:"CISCO-BUG-ID", value:"CSCin01664");
     script_xref(name:"CISCO-SA", value:"cisco-sa-20020212-snmp-msgs");
     script_name(english:"Malformed SNMP Message-Handling Vulnerabilities - Cisco Systems");
     script_summary(english:"Checks the IOS version.");
     script_set_attribute(attribute:"synopsis", value:"The remote device is missing a vendor-supplied security patch.");
     script_set_attribute(attribute:"description", value:
    'Multiple 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.
    ');
     # this advisory isn't relevant - it's for cisco products that aren't IOS
     #script_set_attribute(attribute:"see_also", value: "http://www.nessus.org/u?eff4effa");
     # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20020212-snmp-msgs
     script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?37a437c5");
     # https://www.cisco.com/en/US/products/products_security_advisory09186a00800945b4.shtml
     script_set_attribute(attribute:"see_also", value: "http://www.nessus.org/u?7bb2923b");
     script_set_attribute(attribute:"solution", value:
    "Apply the relevant patch referenced in Cisco Security Advisory
    cisco-sa-20020212-snmp-msgs.");
     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:U/RL:OF/RC:C");
     script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
     script_set_attribute(attribute:"exploit_available", value:"false");
     script_cwe_id(264);
     script_set_attribute(attribute:"plugin_type", value:"local");
     script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:ios");
    
     script_set_attribute(attribute:"vuln_publication_date", value:"2002/02/12");
     script_set_attribute(attribute:"patch_publication_date", value:"2002/02/12");
     script_set_attribute(attribute:"plugin_publication_date", value:"2010/09/01");
    
     script_end_attributes();
     script_category(ACT_GATHER_INFO);
     script_copyright(english:"This script is (C) 2010-2018 Tenable Network Security, Inc.");
     script_family(english:"CISCO");
     script_dependencie("cisco_ios_version.nasl");
     script_require_keys("Host/Cisco/IOS/Version");
     exit(0);
    }
    
    include("audit.inc");
    include("cisco_func.inc");
    include("cisco_kb_cmd_func.inc");
    
    flag = 0;
    report_extra = "";
    version = get_kb_item_or_exit("Host/Cisco/IOS/Version");
    override = 0;
    
    # Affected <= 10.3
    if (
      version =~ "^[0-9]\." ||       # 0.x - 9.x
      version =~ "^10\.[0-3][^0-9]"  # 10.0 - 10.3
    )
    {
     report_extra = '\nNo updates are scheduled for releases 10.3 and earlier. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.0
    if (check_release(version: version,
                      patched: make_list("11.0(22b)") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.0BT
    if (deprecated_version(version, "11.0BT")) {
     report_extra = '\nNo updates are scheduled for 11.0BT. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.0NA
    if (deprecated_version(version, "11.0NA")) {
     report_extra = '\nNo updates are scheduled for 11.0NA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.1
    if (check_release(version: version,
                      patched: make_list("11.1(24b)") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.1AA
    if (check_release(version: version,
                      patched: make_list("11.1(20)AA4") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.1CA
    if (check_release(version: version,
                      patched: make_list("11.1(36)CA3") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.1CC
    if (check_release(version: version,
                      patched: make_list("11.1(36)CC5") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.1CT
    if (check_release(version: version,
                      patched: make_list("11.1(28a)CT") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.1IA
    if (check_release(version: version,
                      patched: make_list("11.1(28)IA2") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.2
    if (check_release(version: version,
                      patched: make_list("11.2(26d)") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.2BC
    if (deprecated_version(version, "11.2BC")) {
     report_extra = '\nNo updates are scheduled for 11.2BC. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.2F
    if (deprecated_version(version, "11.2F")) {
     report_extra = '\nNo updates are scheduled for 11.2F. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.2GS
    if (check_release(version: version,
                      patched: make_list("11.2(19)GS8") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.2P
    if (check_release(version: version,
                      patched: make_list("11.2(26)P4") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.2SA
    if (check_release(version: version,
                      patched: make_list("11.2(8.10)SA6") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.2WA
    if (deprecated_version(version, "11.2WA")) {
     report_extra = '\nNo updates are scheduled for 11.2WA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.2(4)XA
    if (version == '11.2(4)XA') {
     report_extra = '\nUpdate to 11.2(4)XA2 or later\n'; flag++;
    }
    # Affected: 11.2(9)XA
    if (version == '11.2(9)XA') {
     report_extra = '\nNo updates are scheduled for 11.2(9)XA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.3
    if (check_release(version: version,
                      patched: make_list("11.3(11c)") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.3AA
    if (deprecated_version(version, "11.3AA")) {
     report_extra = '\nNo updates are scheduled for 11.3AA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.3DA
    if (deprecated_version(version, "11.3DA")) {
     report_extra = '\nNo updates are scheduled for 11.3DA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.3DB
    if (check_release(version: version,
                      patched: make_list("11.3(9)DB3") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.3DC
    if (deprecated_version(version, "11.3DC")) {
     report_extra = '\nNo updates are scheduled for 11.3DC. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.3HA
    if (deprecated_version(version, "11.3HA")) {
     report_extra = '\nNo updates are scheduled for 11.3HA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.3MA
    if (check_release(version: version,
                      patched: make_list("11.3(1)MA9") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.3NA
    if (deprecated_version(version, "11.3NA")) {
     report_extra = '\nNo updates are scheduled for 11.3NA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 11.3T
    if (check_release(version: version,
                      patched: make_list("11.3(11b)T2") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 11.3(2)XA
    if (version == '11.3(2)XA') {
     report_extra = '\nNo updates are scheduled for 11.3(2)XA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0
    if (check_release(version: version,
                      patched: make_list("12.0(2b)", "12.0(3d)", "12.0(4b)", "12.0(5a)", "12.0(6b)", "12.0(7a)", "12.0(8a)", "12.0(9a)", "12.0(10a)", "12.0(11a)", "12.0(12a)", "12.0(13a)", "12.0(14a)", "12.0(15a)", "12.0(16a)", "12.0(17a)", "12.0(18b)", "12.0(19a)", "12.0(20a)", "12.0(21a)", "12.0(22)"))) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0DA
    if (deprecated_version(version, "12.0DA")) {
     report_extra = '\nNo updates are scheduled for 12.0DA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0DB
    if (check_release(version: version,
                      patched: make_list("12.0(7)DB2") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0DC
    if (check_release(version: version,
                      patched: make_list("12.0(7)DC1") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0S
    if (check_release(version: version,
                      patched: make_list("12.0(8)S1", "12.0(9)S8", "12.0(10)S7", "12.0(11)S6", "12.0(12)S3", "12.0(13)S6", "12.0(14)S7", "12.0(15)S6", "12.0(16)S8", "12.0(17)S4", "12.0(18)S5", "12.0(19)S2", "12.0(21)S1") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0SC
    if (check_release(version: version,
                      patched: make_list("12.0(15)SC1", "12.0(16)SC3") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0SL
    if (check_release(version: version,
                      patched: make_list("12.0(17)SL6", "12.0(19)SL4") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0SP
    if (check_release(version: version,
                      patched: make_list("12.0(20)SP1") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0ST
    if (check_release(version: version,
                      patched: make_list("12.0(11)ST4", "12.0(14)ST3", "12.0(16)ST1", "12.0(17)ST5", "12.0(18)ST1", "12.0(19)ST2", "12.0(20)ST2"))) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0(10)SX
    if (version == '12.0(10)SX') {
     report_extra = '\nNo updates are scheduled for 12.0(10)SX. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0SX
    if (check_release(version: version,
                      patched: make_list("12.0(21)SX") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0T
    if (check_release(version: version,
                      patched: make_list("12.0(7)T2") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0W5
    if (
      version =~ 'W5' && # avoid flagging releases like W4, assuming they even exist
      check_release(version: version, patched: make_list("12.0(10)W5(18h)", "12.0(16)W5(21c)", "12.0(18)W5(22b)", "12.0(20)W5(24a)") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0WC
    if (check_release(version: version,
                      patched: make_list("12.0(5)WC2b", "12.0(5)WC3b") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0(5)WC2, 12.0(5.3)WC1, and 12.0(5.4)WC1 for 2950 only
    if (
      version == '12.0(5)WC2' ||
      version == '12.0(5.3)WC1' ||
      version == '12.0(5.4)WC1'
    ) {
     report_extra = '\nUpgrade to 12.1(6)EA2b or later\n'; flag++;
    }
    # Affected: 12.0(13)WT6(1)
    if (version == '12.0(13)WT6(1)') {
     report_extra = '\nNo updates are scheduled for 12.0(13)WT6(1). Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0WX (12.0(4a)WX5(11a))
    if (version == '12.0(4a)WX5(11a)') {
     report_extra = '\nUpgrade to 12.0(20)W5(24a) or later\n'; flag++;
    }
    # Affected: 12.0WX (12.0(7)WX5(15a))
    if (version == '12.0(7)WX5(15a)') {
     report_extra = '\nUpgrade to 12.0(18)W5(22b) or later\n'; flag++;
    }
    # Affected: 12.0WX
    if (check_release(version: version,
                      patched: make_list("12.0(20)W5(24a)") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.0(1)XA
    if (version == '12.0(1)XA') {
     report_extra = '\nNo updates are scheduled for 12.0(1)XA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(1)XB
    if (version == '12.0(1)XB') {
     report_extra = '\nNo updates are scheduled for 12.0(1)XB. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(2)XC
    if (version == '12.0(2)XC') {
     report_extra = '\nNo updates are scheduled for 12.0(2)XC. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(2)XD
    if (version == '12.0(2)XD') {
     report_extra = '\nNo updates are scheduled for 12.0(2)XD. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(1)XE
    if (version == '12.0(1)XE') {
     report_extra = '\nNo updates are scheduled for 12.0(1)XE. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(2)XE
    if (version == '12.0(2)XE') {
     report_extra = '\nUpdate to 12.0(2)XE4 or later.\n'; flag++;
    }
    # Affected: 12.0(3)XE
    if (version == '12.0(3)XE') {
     report_extra = '\nNo updates are scheduled for 12.0(3)XE. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(4)XE
    if (version == '12.0(4)XE') {
     report_extra = '\nUpdate to 12.0(4)XE2 or later.\n'; flag++;
    }
    # Affected: 12.0(5)XE
    if (version == '12.0(5)XE') {
     report_extra = '\nUpdate to 12.0(5)XE8 or later.\n'; flag++;
    }
    # Affected: 12.0(7)XE
    if (version == '12.0(7)XE') {
     report_extra = '\nUpdate to 12.0(7)XE2 or later.\n'; flag++;
    }
    # Affected: 12.0(3)XG
    if (version == '12.0(3)XG') {
     report_extra = '\nNo updates are scheduled for 12.0(3)XG. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(2)XH
    if (version == '12.0(2)XH') {
     report_extra = '\nNo updates are scheduled for 12.0(2)XH. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(4)XH
    if (version == '12.0(4)XH') {
     report_extra = '\nNo updates are scheduled for 12.0(4)XH. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(4)XI
    if (version == '12.0(4)XI') {
     report_extra = '\nNo updates are scheduled for 12.0(4)XI. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(4)XJ
    if (version == '12.0(4)XJ') {
     report_extra = '\nNo updates are scheduled for 12.0(4)XJ. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(5)XK
    if (version == '12.0(5)XK') {
     report_extra = '\nUpdate to 12.0(5)XK2 or later\n'; flag++;
    }
    # Affected: 12.0(7)XK
    if (version == '12.0(7)XK') {
     report_extra = '\nUpdate to 12.0(7)XK3 or later\n'; flag++;
    }
    # Affected: 12.0(4)XL
    if (version == '12.0(4)XL') {
     report_extra = '\nNo updates are scheduled for 12.0(4)XL. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(4)XM
    if (version == '12.0(4)XM') {
     report_extra = '\nUpdate to 12.0(4)XM1 or later\n'; flag++;
    }
    # Affected: 12.0(5)XN
    if (version == '12.0(5)XN') {
     report_extra = '\nUpdate to 12.0(5)XN1 or later\n'; flag++;
    }
    # Affected: 12.0(5)XP and 12.0(5.1)XP, 12.0(5)XU and 12.0(5.2)XU
    if (
      version == '12.0(5)XP' || version == '12.0(5)XP1' ||
      version == '12.0(5)XU' || version == '12.0(5)XU2'
    ) {
     report_extra = '\nUpdate to 12.0(5)WC3b or later\n'; flag++;
    }
    # Affected: 12.0(4)XT
    if (version == '12.0(5)XT') {
     report_extra = '\nNo updates are scheduled for 12.0(5)XT. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.0(7)XV
    if (version == '12.0(7)XV') {
     report_extra = '\nNo updates are scheduled for 12.0(7)XV. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1
    if (check_release(version: version,
                      patched: make_list("12.1(1c)", "12.1(2b)", "12.1(3b)", "12.1(4a)", "12.1(5e)", "12.1(6a)", "12.1(7b)", "12.1(8c)", "12.1(9a)", "12.1(10a)", "12.1(11b)", "12.1(12b)"))) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.1AA
    if (check_release(version: version,
                      patched: make_list("12.1(8)AA1") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.1CX
    if (version == '12.1(4)CX' || version == '12.1(7)CX1') {
     report_extra = '\nNo updates are scheduled for 12.1(4)CX or 12.1(7)CX1. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1DA
    if (check_release(version: version,
                      patched: make_list("12.1(7)DA3") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.1DB
    if (check_release(version: version,
                      patched: make_list("12.1(1)DB2", "12.1(3)DB1", "12.1(4)DB2", "12.1(5)DB1") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.1DC
    if (check_release(version: version,
                      patched: make_list("12.1(1)DC2", "12.1(3)DC2", "12.1(4)DC3", "12.1(5)DC2") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.1E
    if (check_release(version: version,
                      patched: make_list("12.1(1)E5", "12.1(1)E6", "12.1(2)E2", "12.1(3a)E7", "12.1(4)E3", "12.1(5c)E12", "12.1(6)E8", "12.1(7a)E5", "12.1(7a)E6", "12.1(8b)E9", "12.1(9)E3", "12.1(10)E4", "12.1(3a)E7", "12.1(3a)E8") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.1(6)EA2
    if (version == '12.1(6)EA2') {
     report_extra = '\nUpdate to 12.1(3a)E8 or later\n'; flag++;
    }
    # Affected: 12.1(4)EA1e
    if (version == '12.1(4)EA1e') {
     report_extra = '\nUpdate to 12.1(6)EA2b or later\n'; flag++;
    }
    # Affected: 12.1(6)EA1
    if (version == '12.1(6)EA1') {
     report_extra = '\nUpdate to 12.1(8)EA1c or later\n'; flag++;
    }
    # Affected: 12.1EC
    if (check_release(version: version,
                      patched: make_list("12.1(8)EC1", "12.1(9)EC1", "12.1(10)EC1") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.1(8a)EW
    if (version == '12.1(8a)EW') {
     report_extra = '\nUpdate to 12.1(8a)EW1 or later\n'; flag++;
    }
    # Affected: 12.1(1)EX
    if (version == '12.1(1)EX') {
     report_extra = '\nUpdate to 12.1(1)EX1 or later\n'; flag++;
    }
    # Affected: 12.1(5)EX
    if (version == '12.1(5)EX') {
     report_extra = '\nUpdate to 12.1(5c)EX3 or later\n'; flag++;
    }
    # Affected: 12.1(6)EX
    if (version == '12.1(6)EX') {
     report_extra = '\nNo updates are scheduled for 12.1(6)EX. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(8a)EX
    if (version == '12.1(8a)EX') {
     report_extra = '\nUpdate to 12.1(8b)EX4 or later\n'; flag++;
    }
    # Affected: 12.1(9)EX
    if (version == '12.1(9)EX') {
     report_extra = '\nUpdate to 12.1(9)EX3 or later\n'; flag++;
    }
    # Affected: 12.1(10)EX
    if (version == '12.1(10)EX') {
     report_extra = '\nUpdate to 12.1(10)EX or later\n'; flag++;  # 12.1(10)EX is obviously wrong, but that's what the advisory says
    }
    # Affected: 12.1(5)EY
    if (version == '12.1(5)EY') {
     report_extra = '\nUpdate to 12.1(5)EY2 or later\n'; flag++;
    }
    # Affected: 12.1(6)EY
    if (version == '12.1(6)EY') {
     report_extra = '\nUpdate to 12.1(6)EY1 or later\n'; flag++;
    }
    # Affected: 12.1(7a)EY
    if (version == '12.1(7a)EY') {
     report_extra = '\nUpdate to 12.1(7a)EY3 or later\n'; flag++;
    }
    # Affected: 12.1T
    if (check_release(version: version,
                      patched: make_list("12.1(5)T12") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.1(1)XA
    if (version == '12.1(1)XA') {
     report_extra = '\nNo updates are scheduled for 12.1(1)XA. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(1)XB
    if (version == '12.1(1)XB') {
     report_extra = '\nNo updates are scheduled for 12.1(1)XB. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(1)XC
    if (version == '12.1(1)XC') {
     report_extra = '\nUpdate to 12.1(1)XC1 or later\n'; flag++;
    }
    # Affected: 12.1(1)XD
    if (version == '12.1(1)XD') {
     report_extra = '\nNo updates are scheduled for 12.1(1)XD. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(1)XE
    if (version == '12.1(1)XE') {
     report_extra = '\nUpdate to 12.1(1)XE1 or later\n'; flag++;
    }
    # Affected: 12.1(2)XF
    if (version == '12.1(2)XF') {
     report_extra = '\nUpdate to 12.1(2)XF5 or later\n'; flag++;
    }
    # Affected: 12.1(3)XG
    if (version == '12.1(3)XG') {
     report_extra = '\nUpdate to 12.1(3)XG6 or later\n'; flag++;
    }
    # Affected: 12.1(2a)XH
    if (version == '12.1(2a)XH') {
     report_extra = '\nNo updates are scheduled for 12.1(2a)XH. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(3)XI
    if (version == '12.1(3)XI') {
     report_extra = '\nUpdate to 12.1(3a)XI8 or later\n'; flag++;
    }
    # Affected: 12.1(3)XJ
    if (version == '12.1(3)XJ') {
     report_extra = '\nNo updates are scheduled for 12.1(3)XJ. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(3)XL
    if (version == '12.1(3)XL') {
     report_extra = '\nNo updates are scheduled for 12.1(3)XL. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(5)XM
    if (version == '12.1(5)XM') {
     report_extra = '\nUpdate to 12.1(5)XM7 or later\n'; flag++;
    }
    # Affected: 12.1(3)XP
    if (version == '12.1(3)XP') {
     report_extra = '\nNo updates are scheduled for 12.1(3)XP. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(3)XQ
    if (version == '12.1(3)XQ') {
     report_extra = '\nNo updates are scheduled for 12.1(3)XQ. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(5)XR
    if (version == '12.1(5)XR') {
     report_extra = '\nUpdate to 12.1(5)XR2 or later\n'; flag++;
    }
    # Affected: 12.1(3)XS, 12.1(5)XS
    if (version == '12.1(3)XS' || version == '12.1(5)XS') {
     report_extra = '\nNo updates are scheduled for 12.1(3)XS or 12.1(5)XS. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(3)XT
    if (version == '12.1(3)XT') {
     report_extra = '\nNo updates are scheduled for 12.1(3)XT. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(5)XU
    if (version == '12.1(5)XU') {
     report_extra = '\nNo updates are scheduled for 12.1(5)XU. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(5)XV
    if (version == '12.1(5)XV') {
     report_extra = '\nUpdate to 12.1(5)XV4 or later\n'; flag++;
    }
    # Affected: 12.1(3)XW
    if (version == '12.1(3)XW') {
     report_extra = '\nNo updates are scheduled for 12.1(3)XW. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(5)XX
    if (version == '12.1(5)XX') {
     report_extra = '\nNo updates are scheduled for 12.1(5)XX. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(5)YA
    if (version == '12.1(5)YA') {
     report_extra = '\nUpdate to 12.1(5)YA2 or later\n'; flag++;
    }
    # Affected: 12.1(5)YB
    if (version == '12.1(5)YB') {
     report_extra = '\nUpdate to 12.1(5)YB5 or later\n'; flag++;
    }
    # Affected: 12.1(5)YC
    if (version == '12.1(5)YC') {
     report_extra = '\nUpdate to 12.1(5)YC2 or later\n'; flag++;
    }
    # Affected: 12.1(5)YD
    if (version == '12.1(5)YD') {
     report_extra = '\nUpdate to 12.1(5)YD6 or later\n'; flag++;
    }
    # Affected: 12.1(5)YE
    if (version == '12.1(5)YE') {
     report_extra = '\nNo updates are scheduled for 12.1(5)YE. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.1(5)YF
    if (version == '12.1(5)YF') {
     report_extra = '\nUpdate to 12.1(5)YF4 or later\n'; flag++;
    }
    # Affected: 12.1(5)YH
    if (version == '12.1(5)YH') {
     report_extra = '\nUpdate to 12.1(5)YH3 or later\n'; flag++;
    }
    # Affected: 12.1(5)YI
    if (version == '12.1(5)YI') {
     report_extra = '\nUpdate to 12.1(5)YI2 or later\n'; flag++;
    }
    # Affected: 12.2
    if (check_release(version: version,
                      patched: make_list("12.2(1d)", "12.2(3d)", "12.2(5d)", "12.2(6c)", "12.2(7a)") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2B
    if (check_release(version: version,
                      patched: make_list("12.2(2)B4", "12.2(4)B2") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2BC
    if (check_release(version: version,
                      patched: make_list("12.2(4)BC1a") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2BY
    if (check_release(version: version,
                      patched: make_list("12.2(2)BY2", "12.2(2)BY3") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2DA
    if (check_release(version: version,
                      patched: make_list("12.2(1b)DA1", "12.2(5)DA1"))) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2DD
    if (check_release(version: version,
                      patched: make_list("12.2(2)DD3") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2DX
    if (check_release(version: version,
                      patched: make_list("12.2(1)DX1") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2MB
    if (check_release(version: version,
                      patched: make_list("12.2(4)MB3") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2MX
    if (check_release(version: version,
                      patched: make_list("12.2(4)MX1") )) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2T
    if (check_release(version: version,
                      patched: make_list("12.2(2)T4", "12.2(4)T3"))) {
     report_extra = '\nUpdate to ' + patch_update + ' or later\n'; flag++;
    }
    # Affected: 12.2(1)XA
    if (version == '12.2(1)XA') {
     report_extra = '\nUpdate to 12.2(2)XA5 or later\n'; flag++;
    }
    # Affected: 12.2(2)XB
    if (version == '12.2(2)XB') {
     report_extra = '\nUpdate to 12.2(2)XB3 or later\n'; flag++;
    }
    # Affected: 12.2(1a)XC
    if (version == '12.2(1a)XC') {
     report_extra = '\nNo updates are scheduled for 12.2(1a)XC. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.2(2)XC
    if (version == '12.2(2)XC') {
     report_extra = '\nNo updates are scheduled for 12.2(2)XC. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.2(1)XD
    if (version == '12.2(1)XD') {
     report_extra = '\nUpdate to 12.2(1)XD3 or later\n'; flag++;
    }
    # Affected: 12.2(1)XE
    if (version == '12.2(1)XE') {
     report_extra = '\nUpdate to 12.2(1)XE2 or later\n'; flag++;
    }
    # Affected: 12.2(1)XF1
    if (version == '12.2(1)XF1') {
     report_extra = '\nNo updates are scheduled for 12.2(1)XF1. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.2(2)XF
    if (version == '12.2(2)XF') {
     report_extra = '\nNo updates are scheduled for 12.2(2)XF. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.2(4)XF
    if (version == '12.2(4)XF') {
     report_extra = '\nNo updates are scheduled for 12.2(4)XF. Upgrade to a supported version\n'; flag++;
    }
    # Affected: 12.2(2)XG
    if (version == '12.2(2)XG') {
     report_extra = '\nUpdate to 12.2(2)XG1 or later\n'; flag++;
    }
    # Affected: 12.2(2)XH
    if (version == '12.2(2)XH') {
     report_extra = '\nUpdate to 12.2(2)XH2 or later\n'; flag++;
    }
    # Affected: 12.2(2)XI
    if (version == '12.2(2)XI') {
     report_extra = '\nUpdate to 12.2(2)XI1 or later\n'; flag++;
    }
    # Affected: 12.2(2)XJ
    if (version == '12.2(2)XJ') {
     report_extra = '\nUpdate to 12.2(2)XJ1 or later\n'; flag++;
    }
    # Affected: 12.2(2)XK
    if (version == '12.2(2)XK') {
     report_extra = '\nUpdate to 12.2(2)XK2 or later\n'; flag++;
    }
    # Affected: 12.2(4)XL
    if (version == '12.2(4)XL') {
     report_extra = '\nUpdate to 12.2(4)XL3 or later\n'; flag++;
    }
    # Affected: 12.2(4)XM
    if (version == '12.2(4)XM') {
     report_extra = '\nUpdate to 12.2(4)XM2 or later\n'; flag++;
    }
    # Affected: 12.2(2)XN
    if (version == '12.2(2)XN') {
     report_extra = '\nUpdate to 12.2(2)XN or later\n'; flag++;  # 12.2(2)XN is obviously wrong, but it's what the advisory says
    }
    # Affected: 12.2(2)XQ
    if (version == '12.2(2)XQ') {
     report_extra = '\nUpdate to 12.2(2)XQ2 or later\n'; flag++;
    }
    # Affected: 12.2(1)XS
    if (version == '12.2(1)XS') {
     report_extra = '\nUpdate to 12.2(1)XS2 or later\n'; flag++;
    }
    # Affected: 12.2(2)XT
    if (version == '12.2(2)XT') {
     report_extra = '\nUpdate to 12.2(2)XT2 or later\n'; flag++;
    }
    # Affected: 12.2(2)XU
    if (version == '12.2(2)XU') {
     report_extra = '\nUpdate to 12.2(2)XU2 or later\n'; flag++;
    }
    # Affected: 12.2(4)XW
    if (version == '12.2(4)XW') {
     report_extra = '\nUpdate to 12.2(4)XW1 or later\n'; flag++;
    }
    # Affected: 12.2(4)YA
    if (version == '12.2(4)YA') {
     report_extra = '\nUpdate to 12.2(4)YA1 or later\n'; flag++;
    }
    
    if (get_kb_item("Host/local_checks_enabled"))
    {
      if (flag)
      {
        flag = 0;
        buf = cisco_command_kb_item("Host/Cisco/Config/show_running-config", "show running-config");
        if (check_cisco_result(buf))
        {
          if (preg(pattern:"snmp-server\s+enable", multiline:TRUE, string:buf)) { flag = 1; }
        } else if (cisco_needs_enable(buf)) { flag = 1; override = 1; }
      }
    }
    
    if (flag)
    {
      security_hole(port:0, extra:report_extra + cisco_caveat(override));
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
    

Oval

  • accepted2005-03-09T07:56:00.000-04:00
    classvulnerability
    contributors
    nameBrian Soby
    organizationThe MITRE Corporation
    descriptionVulnerabilities in a large number of SNMP implementations allow remote attackers to cause a denial of service or gain privileges via SNMPv1 trap handling, 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.
    familyunix
    idoval:org.mitre.oval:def:1048
    statusaccepted
    submitted2005-02-01T12:00:00.000-04:00
    titleSNMP Trap Handling Vulnerability
    version35
  • accepted2011-05-16T04:01:00.630-04:00
    classvulnerability
    contributors
    • nameHarvey Rubinovitz
      organizationThe MITRE Corporation
    • nameAnna Min
      organizationBigFix, Inc
    • nameSudhir Gandhe
      organizationTelos
    • nameShane Shaffer
      organizationG2, Inc.
    descriptionVulnerabilities in a large number of SNMP implementations allow remote attackers to cause a denial of service or gain privileges via SNMPv1 trap handling, 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:144
    statusaccepted
    submitted2003-10-10T12:00:00.000-04:00
    titleWindows 2000 SNMPv1 Trap Handling DoS and Privilege Escalation (Test 1)
    version67
  • 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 a large number of SNMP implementations allow remote attackers to cause a denial of service or gain privileges via SNMPv1 trap handling, 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:161
    statusaccepted
    submitted2003-10-10T12:00:00.000-04:00
    titleWindows NT SNMPv1 Trap Handling DoS and Privilege Escalation
    version70
  • 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

Redhat

advisories
rhsa
idRHSA-2001:163

References