WordPress security changelog
MEDIUM CVE-2022-2554 Modified

Enable Media Replace: Filesystem traversal

Enable Media Replace is affected by filesystem traversal. Exposure depends on how the affected operation is made reachable by the site. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.

CVE / CNA score 4.9 CVSS · contact@wpscan.com
NVD score 4.9 CVSS 3.1 · nvd@nist.gov
Component
Enable Media Replace
Plugin slug
enable-media-replace
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Oct 10, 2022
Weakness
CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

This CVE was published Oct 10, 2022 and is one of 9 known issues for this plugin.

Update, patch or deactivate.

Update Enable Media Replace 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 Enable Media Replace WordPress plugin before 4.0.0 does not ensure that renamed files are moved to the Upload folder, which could allow high privilege users such as admin to move them outside to the web root directory via a path traversal attack for example

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

Primary and upstream sources