A vulnerability in a CLI command of Cisco IOS XR Software for the Cisco 8000 Series Routers and Network Convergence System 540 Series Routers running NCS540L software images could allow an authenticated, local attacker to elevate their privilege to root. To exploit this vulnerability, an attacker would need to have a valid account on an affected device. The vulnerability is due to insufficient validation of command line arguments. An attacker could exploit this vulnerability by authenticating to the device and entering a crafted command at the prompt. A successful exploit could allow an attacker with low-level privileges to escalate their privilege level to root.
{"id": "CVE-2021-1370", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-1370", "description": "A vulnerability in a CLI command of Cisco IOS XR Software for the Cisco 8000 Series Routers and Network Convergence System 540 Series Routers running NCS540L software images could allow an authenticated, local attacker to elevate their privilege to root. To exploit this vulnerability, an attacker would need to have a valid account on an affected device. The vulnerability is due to insufficient validation of command line arguments. An attacker could exploit this vulnerability by authenticating to the device and entering a crafted command at the prompt. A successful exploit could allow an attacker with low-level privileges to escalate their privilege level to root.", "published": "2021-02-04T17:15:00", "modified": "2021-02-08T20:41:00", "cvss": {"score": 7.2, "vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C", "accessVector": "LOCAL", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "baseScore": 7.2}, "severity": "HIGH", "exploitabilityScore": 3.9, "impactScore": 10.0, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1370", "reporter": "psirt@cisco.com", "references": ["https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-pe-QpzCAePe"], "cvelist": ["CVE-2021-1370"], "immutableFields": [], "lastseen": "2022-03-23T12:50:30", "viewCount": 15, "enchantments": {"dependencies": {"references": [{"type": "cisco", "idList": ["CISCO-SA-IOSXR-PE-QPZCAEPE"]}, {"type": "nessus", "idList": ["CISCO-SA-IOSXR-PE-QPZCAEPE.NASL"]}], "rev": 4}, "score": {"value": 6.4, "vector": "NONE"}, "twitter": {"counter": 3, "modified": "2021-02-05T14:41:28", "tweets": [{"link": "https://twitter.com/threatintelctr/status/1358880590381146113", "text": " NEW: CVE-2021-1370 A vulnerability in a CLI command of Cisco IOS XR Software for the Cisco 8000 Series Routers and Network Convergence System 540 Series Routers running NCS540L software images could allow an a... (click for more) Severity: HIGH https://t.co/5uwOlT23gR?amp=1"}, {"link": "https://twitter.com/threatintelctr/status/1358880590381146113", "text": " NEW: CVE-2021-1370 A vulnerability in a CLI command of Cisco IOS XR Software for the Cisco 8000 Series Routers and Network Convergence System 540 Series Routers running NCS540L software images could allow an a... (click for more) Severity: HIGH https://t.co/5uwOlT23gR?amp=1"}, {"link": "https://twitter.com/GrupoICA_Ciber/status/1359064126274883587", "text": "CISCO\nM\u00faltiples vulnerabilidades de severidad alta en productos CISCO: \n\nCVE-2021-1290,CVE-2021-1292,CVE-2021-1291,CVE-2021-1294,CVE-2021-1293,CVE-2021-1370,CVE-2021-1296,CVE-2021-1295,CVE-2021-12[...]\n\nM\u00e1s info en: https://t.co/omZQOHl8ZQ?amp=1\n/hashtag/ciberseguridad?src=hashtag_click /hashtag/grupoica?src=hashtag_click /hashtag/cisco?src=hashtag_click"}]}, "backreferences": {"references": [{"type": "cisco", "idList": ["CISCO-SA-IOSXR-PE-QPZCAEPE"]}, {"type": "nessus", "idList": ["CISCO-SA-IOSXR-PE-QPZCAEPE.NASL"]}]}, "exploitation": null, "vulnersScore": 6.4}, "_state": {"dependencies": 1659893093, "score": 1659843777}, "_internal": {"score_hash": "499e9b658b0f4b0d3662788bbb5b1ed5"}, "cna_cvss": {"cna": "Cisco Systems, Inc.", "cvss": {"3": {"vector": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "score": 7.8}}}, "cpe": [], "cpe23": [], "cwe": ["CWE-78"], "affectedSoftware": [{"cpeName": "cisco:ios_xr", "version": "7.0.12", "operator": "lt", "name": "cisco ios xr"}, {"cpeName": "cisco:ios_xr", "version": "7.2.1", "operator": "lt", "name": "cisco ios xr"}, {"cpeName": "cisco:ios_xr", "version": "7.2.1", "operator": "lt", "name": "cisco ios xr"}], "affectedConfiguration": [{"name": "cisco 8201", "cpeName": "cisco:8201", "version": "-", "operator": "eq"}, {"name": "cisco 8202", "cpeName": "cisco:8202", "version": "-", "operator": "eq"}, {"name": "cisco 8808", "cpeName": "cisco:8808", "version": "-", "operator": "eq"}, {"name": "cisco 8812", "cpeName": "cisco:8812", "version": "-", "operator": "eq"}, {"name": "cisco 8818", "cpeName": "cisco:8818", "version": "-", "operator": "eq"}, {"name": "cisco ncs 540", "cpeName": "cisco:ncs_540", "version": "-", "operator": "eq"}], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "AND", "children": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:o:cisco:ios_xr:7.0.12:*:*:*:*:*:*:*", "versionEndExcluding": "7.0.12", "cpe_name": []}, {"vulnerable": true, "cpe23Uri": "cpe:2.3:o:cisco:ios_xr:7.2.1:*:*:*:*:*:*:*", "versionStartIncluding": "7.1.0", "versionEndExcluding": "7.2.1", "cpe_name": []}]}, {"operator": "OR", "children": [], "cpe_match": [{"vulnerable": false, "cpe23Uri": "cpe:2.3:h:cisco:8201:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:cisco:8202:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:cisco:8808:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:cisco:8812:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:cisco:8818:-:*:*:*:*:*:*:*", "cpe_name": []}]}], "cpe_match": []}, {"operator": "AND", "children": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:o:cisco:ios_xr:7.2.1:*:*:*:*:*:*:*", "versionEndExcluding": "7.2.1", "cpe_name": []}]}, {"operator": "OR", "children": [], "cpe_match": [{"vulnerable": false, "cpe23Uri": "cpe:2.3:h:cisco:ncs_540:-:*:*:*:*:*:*:*", "cpe_name": []}]}], "cpe_match": []}]}, "extraReferences": [{"url": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-pe-QpzCAePe", "name": "20210203 Cisco IOS XR Software for Cisco 8000 Series Routers and Network Convergence System 540 Series Routers Privilege Escalation Vulnerability", "refsource": "CISCO", "tags": ["Vendor Advisory"]}]}
{"nessus": [{"lastseen": "2022-01-29T13:12:52", "description": "According to its self-reported version, Cisco IOS XR Software for the Cisco 8000 Series Routers and Network Convergence System 540 Series Routers running NCS540L software images is affected by an privilege escalation vulnerability in its CLI command due to insufficient validation of command line arguments. To exploit this vulnerability, an attacker would need to have a valid account on an affected device. An authenticated, local attacker can exploit this vulnerability by authenticating to the device and entering a crafted command at the prompt. A successful exploit could allow an attacker with low-level privileges to escalate their privilege level to root.\n\nPlease see the included Cisco BIDs and Cisco Security Advisory for more information.", "cvss3": {"score": 7.8, "vector": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}, "published": "2021-03-16T00:00:00", "type": "nessus", "title": "Cisco IOS XR Software for 8000 Series Routers Network Convergence System 540 Series Routers Privilege Escalation (cisco-sa-iosxr-pe-QpzCAePe)", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2021-1370"], "modified": "2022-01-26T00:00:00", "cpe": ["cpe:/o:cisco:ios_xr"], "id": "CISCO-SA-IOSXR-PE-QPZCAEPE.NASL", "href": "https://www.tenable.com/plugins/nessus/147816", "sourceData": "#TRUSTED 4c631f072de11526a50b85809ecbca67906059028812e4fe8e68c2304a1892d13537cf5f51fcbe9af4b30f8c1a6ceafaa87b5a48317bb40e8a7e01dd6be91f5d94038bb8726fdc0baf2905f9da65c5ed0668979ce9a31a617a216d1f56fb285fa41c658d8303c68f7fcd15d445d7cd0abfb1a9b07336fb8630f9d1b63b1748047bd0054f8a1b7bebc3bcc5cab232a755291449ef0b0e8e664009ef8c75e06b183dbf30045cc543aab4a6b3b05eaec1e53868eb3e1dca5b8b3e11a155cbab2f4e8ebeb7bf2bab42466cf6c9a8939575c7e714046fa3f3f80b6349adcd55a97be118ae043f13b9f7669a5afaf639b47ab06ba08a7a0723900a801033dd7007144b2200b33352ad28a9d0926ccd7e48e0c22749965565befb7e45177ea73c1c979e1e49df20761ade96147c08b9ffcdf3c248f477985bcaf07cd676915a003fd2ea06d5d6260292c2e8d505f9e58e99fe893ae2e01cbc0af6c3e3f8de3794a28b10a5a10eb8adcd71fe13d06f980dadc67322eb128f726158784eb49cfe9f8dd3c3d1396defca735bc5f4111b09b07228dbdf149090044fb42bd00b17c05e3dfec6c1ad40b84a8bad0280d8b8a20917207f804f1af900753e87741f6688e4a37f8c3841be0cada2897140ae2e3e3b3aca1f92a082a10b63a66fd0f9dbf1bbd9abb1661d0d1db15f32d448f492f01070930501a430040ea6256dc6723eee4fa500ba\n##\n# (C) Tenable Network Security, Inc.\n##\n\ninclude('compat.inc');\n\nif (description)\n{\n script_id(147816);\n script_version(\"1.12\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2022/01/26\");\n\n script_cve_id(\"CVE-2021-1370\");\n script_xref(name:\"IAVA\", value:\"2021-A-0062-S\");\n script_xref(name:\"CISCO-BUG-ID\", value:\"CSCvs35027\");\n script_xref(name:\"CISCO-SA\", value:\"cisco-sa-iosxr-pe-QpzCAePe\");\n\n script_name(english:\"Cisco IOS XR Software for 8000 Series Routers Network Convergence System 540 Series Routers Privilege Escalation (cisco-sa-iosxr-pe-QpzCAePe)\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote device is missing a vendor-supplied security patch\");\n script_set_attribute(attribute:\"description\", value:\n\"According to its self-reported version, Cisco IOS XR Software for the Cisco 8000 Series Routers and Network \nConvergence System 540 Series Routers running NCS540L software images is affected by an privilege escalation \nvulnerability in its CLI command due to insufficient validation of command line arguments. To exploit this \nvulnerability, an attacker would need to have a valid account on an affected device. An authenticated, local \nattacker can exploit this vulnerability by authenticating to the device and entering a crafted command at the prompt. \nA successful exploit could allow an attacker with low-level privileges to escalate their privilege level to root.\n\nPlease see the included Cisco BIDs and Cisco Security Advisory for more information.\");\n # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-pe-QpzCAePe\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?a7175d10\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvs35027\");\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrade to the relevant fixed version referenced in Cisco bug ID CSCvs35027\");\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2021-1370\");\n\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_cwe_id(78);\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2021/02/03\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2021/02/03\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2021/03/16\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"combined\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:cisco:ios_xr\");\n script_set_attribute(attribute:\"stig_severity\", value:\"I\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"CISCO\");\n\n script_copyright(english:\"This script is Copyright (C) 2021-2022 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"cisco_ios_xr_version.nasl\", \"cisco_enum_smu.nasl\");\n script_require_keys(\"Host/Cisco/IOS-XR/Version\");\n\n exit(0);\n}\n\ninclude('ccf.inc');\n\nproduct_info = cisco::get_product_info(name:'Cisco IOS XR');\n\nmodel = get_kb_item('CISCO/model');\n\nif (empty_or_null(model))\n model = product_info['model'];\n\nmodel = toupper(model);\n\n# 8000 Series Routers\nif (model =~ \"(8[0-9]{3}|8K)\")\n{\n vuln_ranges = [\n { 'min_ver' : '0.0', 'fix_ver' : '7.0.12' },\n { 'min_ver' : '7.2', 'fix_ver' : '7.2.1' }\n ];\n}\n\n# Network Convergence System 540 Series Routers\nelse if ('NCS540L' >< model)\n{\n vuln_ranges = [\n { 'min_ver' : '7.0', 'fix_ver' : '7.1.2' }\n ];\n smus['7.1.2'] = 'CSCvs35027';\n}\n\nelse audit(AUDIT_HOST_NOT, 'an affected model');\n\nreporting = make_array(\n 'port' , product_info['port'],\n 'severity' , SECURITY_HOLE,\n 'version' , product_info['version'],\n 'bug_id' , 'CSCvs35027',\n 'disable_caveat', TRUE\n);\n\ncisco::check_and_report(\n product_info:product_info,\n reporting:reporting,\n vuln_ranges:vuln_ranges,\n smus:smus\n);\n", "cvss": {"score": 7.2, "vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C"}}], "cisco": [{"lastseen": "2021-09-02T22:30:51", "description": "A vulnerability in a CLI command of Cisco IOS XR Software for the Cisco 8000 Series Routers and Network Convergence System 540 Series Routers running NCS540L software images could allow an authenticated, local attacker to elevate their privilege to root. To exploit this vulnerability, an attacker would need to have a valid account on an affected device.\n\nThe vulnerability is due to insufficient validation of command line arguments. An attacker could exploit this vulnerability by authenticating to the device and entering a crafted command at the prompt. A successful exploit could allow an attacker with low-level privileges to escalate their privilege level to root.\n\nCisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.\n\nThis advisory is available at the following link:\nhttps://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-pe-QpzCAePe [\"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-pe-QpzCAePe\"]", "cvss3": {}, "published": "2021-02-03T16:00:00", "type": "cisco", "title": "Cisco IOS XR Software for Cisco 8000 Series Routers and Network Convergence System 540 Series Routers Privilege Escalation Vulnerability", "bulletinFamily": "software", "cvss2": {}, "cvelist": ["CVE-2021-1370"], "modified": "2021-02-03T16:00:00", "id": "CISCO-SA-IOSXR-PE-QPZCAEPE", "href": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-pe-QpzCAePe", "cvss": {"score": 7.8, "vector": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}}]}