Authenticated root code execution via SSH argument injection
Published Aug 16, 2022 · Updated Sep 16, 2024
Argument injection in Device42 CMDB before 18.01.00 allows remote authenticated users to execute code as root through discovery tasks. The alternate-SSH path passes a stored username into sshpass and Bash without neutralizing command arguments, so a crafted username becomes a shell command. An account with System Generated Read and Add rights and permission to create and run a *nix or Cisco NX-OS discovery task is sufficient; successful exploitation grants full appliance access.
Summary
What happened
Argument injection in Device42 CMDB before 18.01.00 allows remote authenticated users to execute code as root through discovery tasks. The alternate-SSH path passes a stored username into sshpass and Bash without neutralizing command arguments, so a crafted username becomes a shell command. An account with System Generated Read and Add rights and permission to create and run a *nix or Cisco NX-OS discovery task is sufficient; successful exploitation grants full appliance access.
The record
- CVE
- CVE-2022-1399
- Published
- Aug 16, 2022
- Updated
- Sep 16, 2024
- Vendor
- Device42
- Product
- Device42 CMDB
- Classifications
- CWE-88, T1059.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 16, 2022CVE publishedPublication date reported by the CVE source.
- Sep 16, 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=unspecified <18.01.00
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
- Bitdefender Device42 autodiscovery reverse-shell reproductionfunctional · 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