CVE-2022-37425

The FILES directive inside a VM template allows execution of uploaded files when the template is instantiated, resulting in a Remote Code Execution (RCE) attack.

Published Oct 28, 2022 CVSS 3.1 · 9.9 Critical EPSS 1.6% KEV · Not listed
Description
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in OpenNebula OpenNebula core on Linux allows Remote Code Inclusion.

Remediation

Vendor Solution

Upgrade to OpenNebula 6.4.2 EE LTS and configure the CONTEXT_RESTRICTED_DIRS and CONTEXT_SAFE_DIRS properties in oned.conf


Vendor Workaround

Do not allow regular users to use the FILES directive inside their VM templates, instead set up a context files datastore, and allow users to upload and reference their files from that datastore, using the FILES_DS directive.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-40055 Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in OpenNebula OpenNebula core on Linux allows Remote Code Inclusion.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
blackberry
Published
Updated
Aug 3, 2024, 10:29 AM
Reserved
Aug 5, 2022, 12:00 AM
Status
Modified
Published
Oct 28, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:55 AM