QID 317366
Date Published: 2023-10-19
QID 317366: Cisco Internetwork Operating System (IOS) and Internetwork Operating System (IOS) XE Software Command Authorization Bypass Vulnerability (cisco-sa-aaascp-Tyj4fEJm)
A vulnerability in the Authentication, Authorization, and Accounting (AAA) feature of Cisco IOS Software and Cisco IOS XE Software could allow an authenticated, remote attacker to bypass command authorization and copy files to or from the file system of an affected device using the Secure Copy Protocol (SCP)..
Affected Releases
Cisco IOS Software or Cisco IOS XE Software (in either autonomous mode or controller mode) and have both SCP server functionality and AAA command authorization enabled.
QID Detection Logic (Authenticated):
The check matches Cisco IOS XE version retrieved via Unix Auth using "show version" command.
QID Detection Logic (Unauthenticated):
The check matches Cisco IOS XE version retrieved via SNMP or TCP/IP Fingerprint or NTP or Telnet.
Note: This QID doesn't check for the available workaround, hence marked potential.
A successful exploit could allow the attacker to obtain or change the configuration of the affected device and put files on or retrieve files from the affected device.
Customers are advised to refer to cisco-sa-aaascp-Tyj4fEJm for more information.Workaround:
As a workaround for this vulnerability, enable privilege level 0 command authorization checks. To force the AAA server to check SCP server commands, use the configuration command aaa authorization commands 0 and configure the appropriate command policy to prevent a user from using SCP server commands. To allow or deny file uploads or downloads through SCP, add filters to the AAA configuration for the commands scp -f and scp -t.
As a mitigation for this vulnerability, disable the SCP server functionality using the configuration command no ip scp server enable. Administrators could then use the SCP client functionality on the affected device to copy images or configurations to or from the router.
- cisco-sa-aaascp-Tyj4fEJm -
sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-aaascp-Tyj4fEJm
CVEs related to QID 317366
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| cisco-sa-aaascp-Tyj4fEJm |
|