WordPress security changelog
HIGH CVE-2021-24639 Modified

OMGF: Arbitrary file deletion

OMGF is affected by arbitrary file deletion. Exposure depends on how the affected operation is made reachable by the site. A successful request can remove files outside the intended scope and may make the site unavailable.

CVE / CNA score 8.1 CVSS · contact@wpscan.com
NVD score 8.1 CVSS 3.1 · nvd@nist.gov
Component
OMGF
Plugin slug
omgf
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Sep 20, 2021
Weakness
CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-352 — Cross-Site Request Forgery (CSRF)
CWE-862 — Missing Authorization

This CVE was published Sep 20, 2021 and is one of 3 known issues for this plugin.

Update, patch or deactivate.

Update OMGF to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The OMGF WordPress plugin before 4.5.4 does not enforce path validation, authorisation and CSRF checks in the omgf_ajax_empty_dir AJAX action, which allows any authenticated users to delete arbitrary files or folders on the server.

NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Primary and upstream sources