Vulnerability Details : CVE-2018-0123
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.
Vulnerability category: Directory traversal
Products affected by CVE-2018-0123
- cpe:2.3:o:cisco:ios:16.7\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:ios_xe:-:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-0123
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 20 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-0123
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.9
|
MEDIUM | AV:L/AC:L/Au:N/C:N/I:C/A:N |
3.9
|
6.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2018-0123
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by:
- nvd@nist.gov (Primary)
- ykramarz@cisco.com (Secondary)
References for CVE-2018-0123
-
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180207-ios
Cisco IOS XE Software Diagnostic Shell Path Traversal VulnerabilityVendor Advisory
-
http://www.securityfocus.com/bid/102967
Cisco IOS and IOS XE Software CVE-2018-0123 Local Arbitrary File Overwrite VulnerabilityThird Party Advisory;VDB Entry
-
http://www.securitytracker.com/id/1040346
Cisco IOS/IOS XE Input Validation Bug in Diagnostic Shell Lets Local Users Overwrite System Files on the Target System - SecurityTrackerThird Party Advisory;VDB Entry
Jump to