CVE-2022-37426
High · 7.5CVSS
7.5
EPSS
0.6%
Published
Oct 28, 2022
CISA due date
—
Cloudanix analysis
A flaw in the OpenNebula cloud platform lets attackers upload harmful files that could let them alter or control virtual machines and infrastructure without proper checks.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits unauthenticated or low-privileged upload of files with arbitrary extensions and content types through the OpenNebula core API or management interface, allowing injection of executable or malicious payloads directly into storage locations used by the platform.
Why it matters to the business
Successful exploitation can result in unauthorized modification of virtual machine images, templates, or configuration data, leading to loss of control over cloud workloads, potential lateral movement within the virtualization environment, and operational disruption of hosted services.
How an attack unfolds
An attacker identifies an exposed OpenNebula management endpoint and crafts a POST request containing a file with a dangerous type such as a script or executable; the core accepts and stores the file without type validation, enabling subsequent execution or use in further attacks against the infrastructure.
How to fix it
Apply the latest OpenNebula core release that enforces strict file-type allow-lists and content validation on all upload paths; until a patch is available, deploy network-level controls to restrict access to management interfaces and implement web application firewall rules that block uploads of executable MIME types and extensions.
How to confirm the fix worked
Review OpenNebula configuration and source code for the presence of file-type whitelist enforcement on all upload handlers; test by attempting to upload a disallowed file type from an unauthenticated context and confirm rejection; monitor release notes for security fixes addressing input validation.
Typical attack path
- Discover publicly reachable OpenNebula management or API endpoint
- Craft and submit an upload request with a file containing malicious content and a permitted but dangerous extension
- Confirm storage of the injected file in a location accessible to the hypervisor or management processes
- Trigger or reference the file to achieve code execution or configuration tampering
How to detect it
Examine web server and OpenNebula daemon logs for POST requests to upload endpoints that contain file names with executable extensions or unexpected MIME types; search for newly created files in storage directories that match suspicious patterns shortly after upload activity.
- POST requests to /rpc or management upload paths containing .php, .sh, .exe, or .jsp extensions
- Log entries showing file uploads accepted without content-type validation errors
- New files appearing in VM image or template directories with executable permissions
What your security team should do
- Immediately restrict network access to OpenNebula management ports to trusted administrative networks only
- Deploy or tune a web application firewall to enforce upload content-type and extension restrictions
- Audit all existing uploaded files for unexpected executable content or scripts
- Establish a process to apply OpenNebula security updates within 30 days of release
The record
Unrestricted Upload of File with Dangerous Type vulnerability in OpenNebula OpenNebula core on Linux allows File Content Injection.
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-37425 Improper Neutralization of Special Elements used in a Command ('Command Injection')… Also affects opennebula
- CVE-2022-37424 Files or Directories Accessible to External Parties vulnerability in OpenNebula on Linux… Also affects opennebula
- CVE-2026-8778 The MIPL Grouped Checkout Fields for WooCommerce – Customize & Organize Checkout Fields. CWE-434
- CVE-2026-12215 The OTP Login & Register Woocommerce plugin for WordPress is vulnerable to Authentication… CWE-434
- CVE-2026-18351 The Drag and Drop File Upload for Elementor Forms plugin for WordPress is vulnerable to… CWE-434
- CVE-2026-71805 An arbitrary file upload and path traversal vulnerability exists in LZ-litchi 1.0.0. CWE-434
- CVE-2026-26212 Rara One Click Demo Import plugin for WordPress before 1.3.5 contains an arbitrary file… CWE-434
- CVE-2026-54611 InstantCMS is a free and open source content management system. CWE-434