CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N/E:X/RL:X/RC:X
-
A vulnerability in the Cisco IOx application hosting environment of multiple Cisco platforms could allow an authenticated, remote attacker to conduct directory traversal attacks and read and write files on the underlying operating system or host system.
This vulnerability occurs because the device does not properly validate URIs in IOx API requests. An attacker could exploit this vulnerability by sending a crafted API request that contains directory traversal character sequences to an affected device. A successful exploit could allow the attacker to read or write arbitrary files on the underlying operating system.
Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.
This advisory is available at the following link:
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iox-pt-hWGcPf7g
-
Vulnerable Products
At the time of publication, this vulnerability affected the following Cisco products if they were running a vulnerable software release and configured with the Cisco IOx application hosting environment.
Cisco Product Cisco Software Vulnerable Releases 809 Industrial Integrated Services Routers (ISRs) IOS Software 15.8(3)M2 and later, earlier than the first fixed release 829 Industrial ISRs IOS Software 15.8(3)M2 and later, earlier than the first fixed release CGR 1000 Compute Module CGR 1000 IOx Compute Platform Firmware 1.9 and later, earlier than the first fixed release IC3000 Industrial Compute Gateway Industrial Compute Gateway Software All releases earlier than the first fixed release Devices running Cisco IOS XE Software IOS XE Software 16.11.1 and later, earlier than the first fixed release For additional information about which Cisco software releases are vulnerable, see the Fixed Software section of this advisory.
See the Details section in the bug ID(s) at the top of this advisory for the most complete and current information.
Assess the Cisco IOx Application Hosting Environment
Use the following subsections to determine whether a device is configured with the Cisco IOx application hosting environment.
Cisco 809 and 829 Industrial Integrated Services Routers
To determine whether the Cisco IOx application hosting environment is enabled on a device, use the show iox host list detail | include OS status command at the device CLI.
The following example shows the output of the command for a device that has the Cisco IOx application hosting environment enabled:
Router#show iox host list detail | include OS status
OS status: RUNNINGIf this command does not exist, or if it produces output that does not show RUNNING in the OS status field, the device is not affected by this vulnerability.
Cisco CGR 1000 Compute Module
To determine the status of IOx functionality, use the show iox host list detail | include IOX Server is running CLI command, as shown in the following example:
CGR1000#show iox host list detail | include IOX Server is running IOX Server is running. Process ID: 305 CGR1000#
Cisco IC3000 Industrial Compute Gateway
On the Cisco IC3000 Industrial Compute Gateway, Cisco IOx functionality is enabled by default.
To determine the status of IOx functionality, use the show iox summary CLI command, as shown in the following example:
ic3k#show iox summary IOx Infrastructure Summary: --------------------------- eid: IC3000-2C2F-K9+FOC2227Y304 pfm: IC3000-2C2F-K9 s/n: FOC2227Y304 images: Lnx: 1.0.1., IOx: 1.7.0:r/1.7.0.0:fc6e9cf boot: 2018-09-17 17:37:55 time: 2018-09-18 18:07:28 load: 18:07:28 up 1 day, 29 min, 0 users, load average: 0.32, 0.11, 0.02 memory: ok, used: 481/7854 (6%) disk: ok, used: /:270305/338869 (79%), /software:57272/87462892 (0%) process: warning, running: 4/5, failed: sshd networking: ok logs: ok, errors: caf (0) apps: ok,
Cisco Platforms That Use Cisco IOS XE Software
The IOx application hosting infrastructure is not enabled by default.
There are two methods for assessing the Cisco IOx application hosting environment in Cisco IOS XE Software:
Option 1: Use the show iox-service Command
To determine the status of Cisco IOx functionality, use the show iox-service command in privileged EXEC mode, as shown in the following example:
Router#show iox-service IOx Infrastructure Summary: --------------------------- IOx service (CAF) : Running IOx service (HA) : Running IOx service (IOxman) : Running Libvirtd : Running Router#
The device is vulnerable if IOx service (CAF) is in the Running state. If any statement in the following list is true, the device is not affected by the vulnerability described in this advisory:
- IOx service (CAF) is in the Not Running state
- The show iox-service privileged EXEC mode command returns no output
- The show iox-service privileged EXEC mode command returns an error
Option 2: Use the iox Configuration Command
As an alternative, check the running configuration for the iox configuration command, as shown in the following example:
Router#sh run | include iox iox Router#
The device is vulnerable if the output contains a line with only iox, as shown in the preceding example. If the iox configuration command does not return output or this command returns an error, the device is not affected by the vulnerability described in this advisory.
Products Confirmed Not Vulnerable
Only products listed in the Vulnerable Products section of this advisory are known to be affected by this vulnerability.
Cisco has confirmed that this vulnerability does not affect the following Cisco products:
- 510 WPAN Industrial Routers
- Industrial Ethernet (IE) 4000 Series Switches
- IOS XR Software
- NX-OS Software
-
There are no workarounds that address this vulnerability.
Cisco recommends that customers who do not want to use the Cisco IOx application hosting environment can mitigate this vulnerability by disabling IOx permanently on the device by using the no iox configuration command.
While this mitigation has been deployed and was proven successful in a test environment, customers should determine the applicability and effectiveness in their own environment and under their own use conditions. Customers should be aware that any workaround or mitigation that is implemented may negatively impact the functionality or performance of their network based on intrinsic customer deployment scenarios and limitations. Customers should not deploy any workarounds or mitigations before first evaluating the applicability to their own environment and any impact to such environment.
-
When considering software upgrades, customers are advised to regularly consult the advisories for Cisco products, which are available from the Cisco Security Advisories page, 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 XE Software releases contained the fix for this vulnerability:
- 17.3.2
- 17.4.2 (scheduled for late March)
- 17.5.1 and later
At the time of publication, Cisco expected to fix this vulnerability in the following releases:
- Cisco 800 Series Industrial Integrated Services Routers: Cisco IOS Software releases 15.9(3)M4 and later (scheduled for July).
- Cisco CGR 1000 Compute Module: CGR 1000 IOx Compute Platform Firmware will be addressed in the next release (scheduled for late August).
- Cisco IC3000 Industrial Compute Gateway: Industrial Compute Gateway Software releases 1.4.1 and later.
See the Details section in the bug ID(s) at the top of this advisory for the most complete and current information.
Cisco IOS and IOS XE Software
To help customers determine their exposure to vulnerabilities in Cisco IOS and IOS XE Software, Cisco provides the Cisco Software Checker to identify any Cisco Security Advisories that impact a specific software release and the earliest release that fixes the vulnerabilities described in each advisory (“First Fixed”). If applicable, the tool also returns the earliest release that fixes all the vulnerabilities described in all the advisories identified (“Combined First Fixed”).
Customers can use the Cisco Software Checker to search advisories in the following ways:
- Choose the software and one or more releases
- Upload a .txt file that includes a list of specific releases
- Enter the output of the show version command
After initiating a search, customers can customize the search to include all Cisco Security Advisories, a specific advisory, or all advisories in the most recent bundled publication.
Customers can also use the following form to determine whether a release is affected by any Cisco Security Advisory by entering a Cisco IOS or IOS XE Software release—for example, 15.1(4)M2 or 3.13.8S:
By default, the Cisco Software Checker includes results only for vulnerabilities that have a Critical or High Security Impact Rating (SIR). To include results for Medium SIR vulnerabilities, customers can use the Cisco Software Checker on Cisco.com and check the Medium check box in the drop-down list under Impact Rating when customizing a search.
-
The Cisco Product Security Incident Response Team (PSIRT) is not aware of any public announcements or malicious use of the vulnerability that is described in this advisory.
-
Cisco would like to thank Orange Group for reporting this vulnerability.
-
To learn about Cisco security vulnerability disclosure policies and publications, see the Security Vulnerability Policy. This document also contains instructions for obtaining fixed software and receiving security vulnerability information from Cisco.
-
Version Description Section Status Date 1.1 Corrected Cisco IOS XE affected release number. Vulnerable Products Final 2021-MAR-30 1.0 Initial public release. — Final 2021-MAR-24
-
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.