cisco-sa-iosxr-cmd-inj-wbzkvpxc
Vulnerability from csaf_cisco
Published
2021-09-08 16:00
Modified
2021-09-17 17:22
Summary
Cisco IOS XR Software Command Injection Vulnerabilities

Notes

Summary
Multiple vulnerabilities in the CLI of Cisco IOS XR Software could allow an authenticated, local attacker to gain access to the underlying root shell of an affected device and execute arbitrary commands with root privileges. For more information about these vulnerabilities, see the Details ["#details"] section of this advisory. Cisco has released software updates that address these vulnerabilities. There are no workarounds that address these vulnerabilities. This advisory is part of the September 2021 release of the Cisco IOS XR Software Security Advisory Bundled Publication. For a complete list of the advisories and links to them, see Cisco Event Response: September 2021 Cisco IOS XR Software Security Advisory Bundled Publication ["https://sec.cloudapps.cisco.com/security/center/viewErp.x?alertId=ERP-74637"].
Vulnerable Products
At the time of publication, CVE-2021-34721 affected Cisco IOS XR Software releases earlier than Release 7.3.2 if the xml agent feature was configured. At the time of publication, CVE-2021-34722 affected Cisco IOS XR Software releases 7.1.1 through 7.3.1. See the Details section in the bug ID(s) at the top of this advisory for the most complete and current information. Determine the Device Configuration To determine if the xml agent is enabled, use the following command: RP/0/RP0/CPU0: router# show running-config | include xml agent xml agent tty
Products Confirmed Not Vulnerable
Only products listed in the Vulnerable Products ["#vp"] section of this advisory are known to be affected by these vulnerabilities. Cisco has confirmed that these vulnerabilities do not affect the following Cisco products: IOS Software IOS XE Software NX-OS Software
Details
The vulnerabilities are not dependent on one another. Exploitation of one of the vulnerabilities is not required to exploit another vulnerability. In addition, a software release that is affected by one of the vulnerabilities may not be affected by the other vulnerabilities. Details about the vulnerabilities are as follows: CVE-2021-34721: Cisco IOS XR Software Command Injection Vulnerability A vulnerability in the XML configuration manager of Cisco IOS XR Software could allow an authenticated, local attacker to inject arbitrary commands that are executed with root privileges on the underlying Linux operating system (OS) of an affected device. This vulnerability is due to insufficient input validation of commands that are supplied by a user. An attacker could exploit this vulnerability by authenticating to a device and submitting crafted input to affected commands. A successful exploit could allow an attacker to gain access to the underlying root shell of the affected device and execute arbitrary commands as root. Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability. Bug ID(s): CSCvx48002 ["https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvx48002"] CVE ID: CVE-2021-34721 Security Impact Rating (SIR): Medium CVSS Base Score: 6.7 CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVE-2021-34722: Cisco IOS XR Software Command Injection Vulnerability A vulnerability in the CLI of Cisco IOS XR Software could allow an authenticated, local attacker to gain access to the root shell of an affected device and execute arbitrary commands with root privileges. The vulnerability exists because the affected software improperly sanitizes command arguments. An attacker could exploit this vulnerability by authenticating to the device and using CLI commands that contain crafted arguments. A successful exploit could allow the attacker to gain access to the underlying root shell of the affected device and execute arbitrary commands with root privileges. Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability. Bug ID(s): CSCvx48001 ["https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvx48001"] CVE ID: CVE-2021-34722 Security Impact Rating (SIR): Medium CVSS Base Score: 6.7 CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Workarounds
There are no workarounds that address these vulnerabilities.
Fixed Software
When considering software upgrades ["https://sec.cloudapps.cisco.com/security/center/resources/security_vulnerability_policy.html#fixes"], customers are advised to regularly consult the advisories for Cisco products, which are available from the Cisco Security Advisories page ["https://www.cisco.com/go/psirt"], to determine exposure and a complete upgrade solution. In all cases, customers should ensure that the devices to be upgraded contain sufficient memory and confirm that current hardware and software configurations will continue to be supported properly by the new release. If the information is not clear, customers are advised to contact the Cisco Technical Assistance Center (TAC) or their contracted maintenance providers. Fixed Releases At the time of publication, the following Cisco IOS XR Software releases contained the fix for these vulnerabilities: 7.3.2 and later 7.4.1 and later Cisco has released the following SMUs to address these vulnerabilities. Customers who require SMUs for platforms or releases that are not listed are advised to contact their support organization. The SMUs in the following table address Cisco Bug ID CSCvx48002 ["https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvx48002"]. Cisco IOS XR Software Release Platform SMU Name 6.6.3 IOSXRWBD iosxrwbd-6.6.3.CSCvx48002 7.0.1 NCS5500 ncs5500-7.0.1.CSCvx48002 7.2.1 ASR9K-X64 asr9k-x64-7.1.3.CSCvw95930
Vulnerability Policy
To learn about Cisco security vulnerability disclosure policies and publications, see the Security Vulnerability Policy ["https://sec.cloudapps.cisco.com/security/center/resources/security_vulnerability_policy.html"]. This document also contains instructions for obtaining fixed software and receiving security vulnerability information from Cisco.
Exploitation and Public Announcements
The Cisco Product Security Incident Response Team (PSIRT) is not aware of any public announcements or malicious use of the vulnerabilities that are described in this advisory.
Source
These vulnerabilities were found during internal security testing.
Legal Disclaimer
THIS DOCUMENT IS PROVIDED ON AN "AS IS" BASIS AND DOES NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE INFORMATION ON THE DOCUMENT OR MATERIALS LINKED FROM THE DOCUMENT IS AT YOUR OWN RISK. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME. A standalone copy or paraphrase of the text of this document that omits the distribution URL is an uncontrolled copy and may lack important information or contain factual errors. The information in this document is intended for end users of Cisco products.



{
  "document": {
    "acknowledgments": [
      {
        "summary": "These vulnerabilities were found during internal security testing."
      }
    ],
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "notes": [
      {
        "category": "summary",
        "text": "Multiple vulnerabilities in the CLI of Cisco IOS XR Software could allow an authenticated, local attacker to gain access to the underlying root shell of an affected device and execute arbitrary commands with root privileges.\r\n\r\nFor more information about these vulnerabilities, see the Details [\"#details\"] section of this advisory.\r\n\r\nCisco has released software updates that address these vulnerabilities. There are no workarounds that address these vulnerabilities.\r\n\r\n\r\n\r\nThis advisory is part of the September 2021 release of the Cisco IOS XR Software Security Advisory Bundled Publication. For a complete list of the advisories and links to them, see Cisco Event Response: September 2021 Cisco IOS XR Software Security Advisory Bundled Publication [\"https://sec.cloudapps.cisco.com/security/center/viewErp.x?alertId=ERP-74637\"].",
        "title": "Summary"
      },
      {
        "category": "general",
        "text": "At the time of publication, CVE-2021-34721 affected Cisco IOS XR Software releases earlier than Release 7.3.2 if the xml agent feature was configured.\r\n\r\nAt the time of publication, CVE-2021-34722 affected Cisco IOS XR Software releases 7.1.1 through 7.3.1.\r\n\r\nSee the Details section in the bug ID(s) at the top of this advisory for the most complete and current information.\r\n  Determine the Device Configuration\r\nTo determine if the xml agent is enabled, use the following command:\r\n\r\n\r\nRP/0/RP0/CPU0: router# show running-config | include xml agent\r\nxml agent tty",
        "title": "Vulnerable Products"
      },
      {
        "category": "general",
        "text": "Only products listed in the Vulnerable Products [\"#vp\"] section of this advisory are known to be affected by these vulnerabilities.\r\n\r\nCisco has confirmed that these vulnerabilities do not affect the following Cisco products:\r\n\r\nIOS Software\r\nIOS XE Software\r\nNX-OS Software",
        "title": "Products Confirmed Not Vulnerable"
      },
      {
        "category": "general",
        "text": "The vulnerabilities are not dependent on one another. Exploitation of one of the vulnerabilities is not required to exploit another vulnerability. In addition, a software release that is affected by one of the vulnerabilities may not be affected by the other vulnerabilities.\r\n\r\nDetails about the vulnerabilities are as follows:\r\n\r\nCVE-2021-34721: Cisco IOS XR Software Command Injection Vulnerability\r\n\r\nA vulnerability in the XML configuration manager of Cisco IOS XR Software could allow an authenticated, local attacker to inject arbitrary commands that are executed with root privileges on the underlying Linux operating system (OS) of an affected device.\r\n\r\nThis vulnerability is due to insufficient input validation of commands that are supplied by a user. An attacker could exploit this vulnerability by authenticating to a device and submitting crafted input to affected commands. A successful exploit could allow an attacker to gain access to the underlying root shell of the affected device and execute arbitrary commands as root.\r\n\r\nCisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.\r\n\r\nBug ID(s): CSCvx48002 [\"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvx48002\"]\r\nCVE ID: CVE-2021-34721\r\nSecurity Impact Rating (SIR): Medium\r\nCVSS Base Score: 6.7\r\nCVSS Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H\r\n\r\nCVE-2021-34722: Cisco IOS XR Software Command Injection Vulnerability\r\n\r\nA vulnerability in the CLI of Cisco IOS XR Software could allow an authenticated, local attacker to gain access to the root shell of an affected device and execute arbitrary commands with root privileges.\r\n\r\nThe vulnerability exists because the affected software improperly sanitizes command arguments. An attacker could exploit this vulnerability by authenticating to the device and using CLI commands that contain crafted arguments. A successful exploit could allow the attacker to gain access to the underlying root shell of the affected device and execute arbitrary commands with root privileges.\r\n\r\nCisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.\r\n\r\nBug ID(s): CSCvx48001 [\"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvx48001\"]\r\nCVE ID: CVE-2021-34722\r\nSecurity Impact Rating (SIR): Medium\r\nCVSS Base Score: 6.7\r\nCVSS Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
        "title": "Details"
      },
      {
        "category": "general",
        "text": "There are no workarounds that address these vulnerabilities.",
        "title": "Workarounds"
      },
      {
        "category": "general",
        "text": "When considering software upgrades [\"https://sec.cloudapps.cisco.com/security/center/resources/security_vulnerability_policy.html#fixes\"], customers are advised to regularly consult the advisories for Cisco products, which are available from the Cisco Security Advisories page [\"https://www.cisco.com/go/psirt\"], to determine exposure and a complete upgrade solution.\r\n\r\nIn all cases, customers should ensure that the devices to be upgraded contain sufficient memory and confirm that current hardware and software configurations will continue to be supported properly by the new release. If the information is not clear, customers are advised to contact the Cisco Technical Assistance Center (TAC) or their contracted maintenance providers.\r\n      Fixed Releases\r\nAt the time of publication, the following Cisco IOS XR Software releases contained the fix for these vulnerabilities:\r\n\r\n7.3.2 and later\r\n7.4.1 and later\r\n\r\nCisco has released the following SMUs to address these vulnerabilities. Customers who require SMUs for platforms or releases that are not listed are advised to contact their support organization.\r\n\r\nThe SMUs in the following table address Cisco Bug ID CSCvx48002 [\"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvx48002\"].\r\n        Cisco IOS XR Software Release  Platform  SMU Name            6.6.3  IOSXRWBD  iosxrwbd-6.6.3.CSCvx48002      7.0.1  NCS5500  ncs5500-7.0.1.CSCvx48002      7.2.1  ASR9K-X64  asr9k-x64-7.1.3.CSCvw95930",
        "title": "Fixed Software"
      },
      {
        "category": "general",
        "text": "To learn about Cisco security vulnerability disclosure policies and publications, see the Security Vulnerability Policy [\"https://sec.cloudapps.cisco.com/security/center/resources/security_vulnerability_policy.html\"]. This document also contains instructions for obtaining fixed software and receiving security vulnerability information from Cisco.",
        "title": "Vulnerability Policy"
      },
      {
        "category": "general",
        "text": "The Cisco Product Security Incident Response Team (PSIRT) is not aware of any public announcements or malicious use of the vulnerabilities that are described in this advisory.",
        "title": "Exploitation and Public Announcements"
      },
      {
        "category": "general",
        "text": "These vulnerabilities were found during internal security testing.",
        "title": "Source"
      },
      {
        "category": "legal_disclaimer",
        "text": "THIS DOCUMENT IS PROVIDED ON AN \"AS IS\" BASIS AND DOES NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE INFORMATION ON THE DOCUMENT OR MATERIALS LINKED FROM THE DOCUMENT IS AT YOUR OWN RISK. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME.\r\n\r\nA standalone copy or paraphrase of the text of this document that omits the distribution URL is an uncontrolled copy and may lack important information or contain factual errors. The information in this document is intended for end users of Cisco products.",
        "title": "Legal Disclaimer"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "psirt@cisco.com",
      "issuing_authority": "Cisco PSIRT",
      "name": "Cisco",
      "namespace": "https://wwww.cisco.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Cisco IOS XR Software Command Injection Vulnerabilities",
        "url": "https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-cmd-inj-wbZKvPxc"
      },
      {
        "category": "external",
        "summary": "Cisco Event Response: September  2021 Semiannual Cisco IOS XR  Software Security Advisory Bundled Publication",
        "url": "https://sec.cloudapps.cisco.com/security/center/viewErp.x?alertId=ERP-74637"
      },
      {
        "category": "external",
        "summary": "Cisco Security Vulnerability Policy",
        "url": "https://sec.cloudapps.cisco.com/security/center/resources/security_vulnerability_policy.html"
      },
      {
        "category": "external",
        "summary": "CSCvx48002",
        "url": "https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvx48002"
      },
      {
        "category": "external",
        "summary": "CSCvx48001",
        "url": "https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvx48001"
      },
      {
        "category": "external",
        "summary": "considering software upgrades",
        "url": "https://sec.cloudapps.cisco.com/security/center/resources/security_vulnerability_policy.html#fixes"
      },
      {
        "category": "external",
        "summary": "Cisco\u0026nbsp;Security Advisories page",
        "url": "https://www.cisco.com/go/psirt"
      }
    ],
    "title": "Cisco IOS XR Software Command Injection Vulnerabilities",
    "tracking": {
      "current_release_date": "2021-09-17T17:22:42+00:00",
      "generator": {
        "date": "2024-05-10T23:07:44+00:00",
        "engine": {
          "name": "TVCE"
        }
      },
      "id": "cisco-sa-iosxr-cmd-inj-wbZKvPxc",
      "initial_release_date": "2021-09-08T16:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-09-08T15:43:04+00:00",
          "number": "1.0.0",
          "summary": "Initial public release."
        },
        {
          "date": "2021-09-17T17:22:42+00:00",
          "number": "1.1.0",
          "summary": "Added SMU table."
        }
      ],
      "status": "final",
      "version": "1.1.0"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "category": "product_family",
            "name": "Cisco IOS XR Software",
            "product": {
              "name": "Cisco IOS XR Software ",
              "product_id": "CSAFPID-5834"
            }
          }
        ],
        "category": "vendor",
        "name": "Cisco"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-34722",
      "ids": [
        {
          "system_name": "Cisco Bug ID",
          "text": "CSCvx48001"
        }
      ],
      "notes": [
        {
          "category": "other",
          "text": "Complete.",
          "title": "Affected Product Comprehensiveness"
        }
      ],
      "product_status": {
        "known_affected": [
          "CSAFPID-5834"
        ]
      },
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "Cisco has released software updates that address this vulnerability.",
          "product_ids": [
            "CSAFPID-5834"
          ],
          "url": "https://software.cisco.com"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 6.7,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "CSAFPID-5834"
          ]
        }
      ],
      "title": "Cisco IOS XR Software Command Injection Vulnerability"
    },
    {
      "cve": "CVE-2021-34721",
      "ids": [
        {
          "system_name": "Cisco Bug ID",
          "text": "CSCvx48002"
        }
      ],
      "notes": [
        {
          "category": "other",
          "text": "Complete.",
          "title": "Affected Product Comprehensiveness"
        }
      ],
      "product_status": {
        "known_affected": [
          "CSAFPID-5834"
        ]
      },
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "Cisco has released software updates that address this vulnerability.",
          "product_ids": [
            "CSAFPID-5834"
          ],
          "url": "https://software.cisco.com"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 6.7,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "CSAFPID-5834"
          ]
        }
      ],
      "title": "Cisco IOS XR Software Command Injection Vulnerability"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.