cve.bz

CVE-2024-31210 wordpress wordpress

8.8 highEPSS 1.0%

High (8.8) in wordpress wordpress. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
WordPress is an open publishing platform for the Web. It's possible for a file of a type other than a zip file to be submitted as a new plugin by an administrative user on the Plugins -> Add New -> Upload Plugin screen in WordPress. If FTP credentials are requested for installation (in order to move the file into place outside of the `uploads` directory) then the uploaded file remains temporary available in the Media Library despite it not being allowed. If the `DISALLOW_FILE_EDIT` constant is set to `true` on the site _and_ FTP credentials are required when uploading a new theme or plugin, then this technically allows an RCE when the user would otherwise have no means of executing arbitrary PHP code. This issue _only_ affects Administrator level users on single site installations, and Super Admin level users on Multisite installations where it's otherwise expected that the user does not have permission to upload or execute arbitrary PHP code. Lower level users are not affected. Sites where the `DISALLOW_FILE_MODS` constant is set to `true` are not affected. Sites where an administrative user either does not need to enter FTP credentials or they have access to the valid FTP credentials, are not affected. The issue was fixed in WordPress 6.4.3 on January 30, 2024 and backported to 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. A workaround is available. If the `DISALLOW_FILE_MODS` constant is defined as `true` then it will not be possible for any user to upload a plugin and therefore this issue will not be exploitable.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-04-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-434 Unrestricted Upload of File with Dangerous Type
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31210 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31210?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31210?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31210 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
wordpress:wordpressbefore 4.1.40
wordpress:wordpressfrom 4.2 before 4.2.37
wordpress:wordpressfrom 4.3 before 4.3.33
wordpress:wordpressfrom 4.4 before 4.4.32
wordpress:wordpressfrom 4.5 before 4.5.31
wordpress:wordpressfrom 4.6 before 4.6.28
wordpress:wordpressfrom 4.7 before 4.7.28
wordpress:wordpressfrom 4.8 before 4.8.24
wordpress:wordpressfrom 4.9 before 4.9.25
wordpress:wordpressfrom 5.0 before 5.0.21
wordpress:wordpressfrom 5.1 before 5.1.18
wordpress:wordpressfrom 5.2 before 5.2.20
wordpress:wordpressfrom 5.3 before 5.3.17
wordpress:wordpressfrom 5.4 before 5.4.15
wordpress:wordpressfrom 5.5 before 5.5.14
wordpress:wordpressfrom 5.6 before 5.6.13
wordpress:wordpressfrom 5.7 before 5.7.11
wordpress:wordpressfrom 5.8 before 5.8.9
wordpress:wordpressfrom 5.9 before 5.9.9
wordpress:wordpressfrom 6.0 before 6.0.7
wordpress:wordpressfrom 6.1 before 6.1.5
wordpress:wordpressfrom 6.2 before 6.2.4
wordpress:wordpressfrom 6.3 before 6.3.3
wordpress:wordpressfrom 6.4.0 before 6.4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11wordpress5.7.11+dfsg1-0+deb11u1DSA-5685-1
Debian12wordpress6.1.6+dfsg1-0+deb12u1DEBIAN-CVE-2024-31210 DSA-5685-1
Debian13, 14wordpress6.4.3+dfsg1-1DEBIAN-CVE-2024-31210
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 morewordpressno fix listedUBUNTU-CVE-2024-31210

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON