CVE-2022-37425
Critical · 9.8CVSS
9.8
EPSS
1.6%
Published
Oct 28, 2022
CISA due date
—
Cloudanix analysis
Attackers can run any commands they choose on computers using this software, giving them complete control without needing passwords or user interaction.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
The flaw permits remote attackers to inject arbitrary operating system commands through unsanitized input that is passed directly to a shell or command execution API, resulting in full remote code execution with the privileges of the vulnerable process.
Why it matters to the business
Compromised systems can be fully controlled by attackers, enabling theft of credentials and data, deployment of ransomware or backdoors, and disruption of services that rely on the affected software.
How an attack unfolds
An unauthenticated remote attacker identifies an exposed instance, crafts input containing shell metacharacters and malicious commands, submits the payload through a network-accessible interface, and the unsanitized input is executed, granting interactive command access.
How to fix it
Upgrade ohmyzsh/ohmyzsh to commit 6cb41b70a6d04301fd50cd5862ecd705ba226c0e or later; if immediate upgrade is not possible, restrict network exposure and implement input sanitization or command execution wrappers that reject dangerous characters.
How to confirm the fix worked
Confirm the installed commit hash or version matches or exceeds 6cb41b70a6d04301fd50cd5862ecd705ba226c0e; test previously vulnerable input vectors to verify that injected commands are no longer executed.
Typical attack path
- Scan for publicly reachable instances of the vulnerable software
- Identify endpoints or parameters that accept user-controlled input destined for command execution
- Craft and transmit a payload containing command separators and arbitrary OS commands
- Receive command output or confirm execution via side channels
- Establish persistence, escalate privileges, or move laterally within the environment
How to detect it
Examine process creation logs, shell history files, and application logs for unexpected command invocations containing shell metacharacters or unusual binaries; correlate with inbound network requests containing suspicious payloads.
What your security team should do
- Immediately schedule upgrade to the fixed commit for all instances
- Temporarily block or proxy inbound traffic to affected endpoints until patched
- Review logs for prior command execution attempts using known injection patterns
- Add runtime application self-protection or WAF rules that block shell metacharacters in relevant inputs
The record
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in OpenNebula OpenNebula core on Linux allows Remote Code Inclusion.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | opennebula | 0 | No fix |
| Ubuntu:18.04:LTS | opennebula | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | opennebula | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | opennebula | 0 | No fix |
Related vulnerabilities
- CVE-2022-37426 Unrestricted Upload of File with Dangerous Type vulnerability in OpenNebula OpenNebula… Also affects opennebula
- CVE-2022-37424 Files or Directories Accessible to External Parties vulnerability in OpenNebula on Linux… Also affects opennebula
- CVE-2026-114575 A flaw has been found in TOTOLINK A950RG 4.1.2cu.5268_B20221104. CWE-77
- CVE-2026-112942 launch-editor allows users to open files with line numbers in editor from Node.js. CWE-77
- CVE-2026-55453 OpenPrinting CUPS is an open source printing system for Linux and other Unix-like… CWE-77
- CVE-2026-102827 simple-git, an interface for running git commands in any node.js application, enables… CWE-77
- CVE-2026-102826 simple-git, an interface for running git commands in any node.js application, enables… CWE-77
- CVE-2026-79945 Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions… CWE-77