Arbitrary host-file access via corefiles path traversal
Published Mar 24, 2021 · Updated Nov 8, 2024
Path traversal in the Cisco IOx corefiles API allows remote authenticated users to read or write arbitrary host files. The getCoreFile path resolver accepts core_filename values whose valid prefix conceals traversal sequences, resolving them outside the shared core_dir. Exploitation requires high-privilege API credentials and an attacker-created directory in the container's shared core_dir; successful requests access host files as root.
Summary
What happened
Path traversal in the Cisco IOx corefiles API allows remote authenticated users to read or write arbitrary host files. The getCoreFile path resolver accepts core_filename values whose valid prefix conceals traversal sequences, resolving them outside the shared core_dir. Exploitation requires high-privilege API credentials and an attacker-created directory in the container's shared core_dir; successful requests access host files as root.
The record
- CVE
- CVE-2021-1385
- Published
- Mar 24, 2021
- Updated
- Nov 8, 2024
- Vendor
- ClamAV
- Product
- Cisco IOS
- Classifications
- CWE-22, T1005, T1565.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 24, 2021CVE publishedPublication date reported by the CVE source.
- Nov 8, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=n/a
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Cisco IOx corefiles path-traversal proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo