Root access via hal_collector_tool command injection
Published Aug 25, 2021 · Updated Nov 7, 2024
Command injection in Cisco NX-OS Software in ACI mode allows local users with administrative privileges to gain root access. The hal_collector_tool builds a Python command from a supplied JSON hal_object value and passes it to os.system without neutralizing shell metacharacters. Administrative SSH access is required; successful injection escapes the restricted ACI container and executes commands on the underlying switch OS as root.
Summary
What happened
Command injection in Cisco NX-OS Software in ACI mode allows local users with administrative privileges to gain root access. The hal_collector_tool builds a Python command from a supplied JSON hal_object value and passes it to os.system without neutralizing shell metacharacters. Administrative SSH access is required; successful injection escapes the restricted ACI container and executes commands on the underlying switch OS as root.
The record
- CVE
- CVE-2021-1584
- Published
- Aug 25, 2021
- Updated
- Nov 7, 2024
- Vendor
- ClamAV
- Product
- Cisco NX-OS System Software in ACI Mode
- Classifications
- CWE-78, T1068, T1059.004
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Aug 25, 2021CVE publishedPublication date reported by the CVE source.
- Nov 7, 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?
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
- Synacktiv hal_collector_tool command-injection demonstrationfunctional · 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