CVE-2018-0123: Cisco IOS - Path Traversal
- Cve: CVE-2018-0123
- Name: Cisco IOS - Path Traversal
- Description: A Path Traversal vulnerability in the diagnostic shell for Cisco IOS and IOS XE Software could allow an authenticated, local attacker to use certain diagnostic shell commands that can overwrite system files. These system files may be sensitive and should not be able to be overwritten by a user of the diagnostic shell. The vulnerability is due to lack of proper input validation for certain diagnostic shell commands. An attacker could exploit this vulnerability by authenticating to the device, entering the diagnostic shell, and providing crafted user input to commands at the local diagnostic shell CLI. Successful exploitation could allow the attacker to overwrite system files that should be restricted. Cisco Bug IDs: CSCvg41950.
- Impact: Authenticated local attackers can overwrite sensitive system files, potentially leading to system compromise or disruption.
- Remediation: Apply the latest security patches and updates provided by Cisco for affected IOS and IOS XE versions.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated and access the diagnostic shell
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00406
- Epss percentile: 0.35577
- Assignee: [email protected]
- Published at: 2018-02-08T07:29:00Z
- Age in days: 3211
- Modified at: 2026-06-17T01:29:37Z
- References total: 3
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-0123
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180207-ios | Vendor Advisory |
| http://www.securityfocus.com/bid/102967 | Third Party Advisory, VDB Entry |
| http://www.securitytracker.com/id/1040346 | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cisco:ios | = 16.7(1) | no | nvd | /v1/products/cisco/ios |
| cisco:ios_xe | all versions | no | nvd | /v1/products/cisco/ios_xe |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 656099
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports