PT-2024-2953 · WordPress · Wordpress

Peterwilsoncc

·

Published

2024-04-04

·

Updated

2026-01-07

·

CVE-2024-31210

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions WordPress versions prior to 6.4.3 WordPress versions 6.3.3, 6.2.4, 6.1.5, 6.0.7, 5.9.9, 5.8.9, 5.7.11, 5.6.13, 5.5.14, 5.4.15, 5.3.17, 5.2.20, 5.1.18, 5.0.21, 4.9.25, 2.8.24, 4.7.28, 4.6.28, 4.5.31, 4.4.32, 4.3.33, 4.2.37, and 4.1.40
Description The issue allows an administrative user to submit a file of a type other than a zip file as a new plugin, potentially leading to remote code execution (RCE) if the DISALLOW FILE EDIT constant is set to true and FTP credentials are required. This affects Administrator level users on single site installations and Super Admin level users on Multisite installations. The issue does not affect lower level users or sites where the DISALLOW FILE MODS constant is set to true.
Recommendations Update to WordPress version 6.4.3 or later. For versions 6.3.3, 6.2.4, 6.1.5, 6.0.7, 5.9.9, 5.8.9, 5.7.11, 5.6.13, 5.5.14, 5.4.15, 5.3.17, 5.2.20, 5.1.18, 5.0.21, 4.9.25, 2.8.24, 4.7.28, 4.6.28, 4.5.31, 4.4.32, 4.3.33, 4.2.37, and 4.1.40, update to the respective backported version. As a temporary workaround, consider defining the DISALLOW FILE MODS constant as true to prevent plugin uploads.

Exploit

Fix

RCE

Unrestricted File Upload

Weakness Enumeration

Related Identifiers

BDU:2024-03120
BIT-WORDPRESS-2024-31210
BIT-WORDPRESS-MULTISITE-2024-31210
CVE-2024-31210
DSA-5685-1
GHSA-X79F-XRJV-JX5R
ZDI-24-1530

Affected Products

Wordpress