CVE-2019-1731
Description
A vulnerability in the SSH CLI key management functionality of Cisco NX-OS Software could allow an authenticated, local attacker to expose a user's private SSH key to all authenticated users on the targeted device. The attacker must authenticate with valid administrator device credentials. The vulnerability is due to incomplete error handling if a specific error type occurs during the SSH key export. An attacker could exploit this vulnerability by authenticating to the device and entering a crafted command at the CLI. A successful exploit could allow the attacker to expose a user's private SSH key. In addition, a similar type of error in the SSH key import could cause the passphrase-protected private SSH key to be imported unintentionally.
How to fix
- cisco nx-os7.0\(3\)i4\(9\), 7.0\(3\)i7\(4\), 6.0\(2\)a8\(10\), 7.3\(4\)n1\(1\), 7.0\(3\)f3\(5\) or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cisco nx-os | v < 7.0\(3\)i4\(9\), 7.0\(3\)i7 ≤ v < 7.0\(3\)i7\(4\), v < 6.0\(2\)a8\(10\), 7.0\(3\)i4 ≤ v < 7.0\(3\)i7\(4\), v < 7.3\(4\)n1\(1\), 7.0\(3\) ≤ v < 7.0\(3\)f3\(5\) | 7.0\(3\)i4\(9\), 7.0\(3\)i7\(4\), 6.0\(2\)a8\(10\), 7.3\(4\)n1\(1\), 7.0\(3\)f3\(5\) |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.