WordPress Core < 5.7.1 - XXE Injection

2021-04-15 00:00
SonarSource

Strategic Overview

Status
Patched in 4.7.20
Affected CoreWordPress 5.7
Affected Version4.7 – < 5.7.1 · 11 branches
CVSS7.1High
CVECVE-2021-29447
View all WordPress 5.7 vulnerabilities

Vulnerability Overview

Wordpress is an open source CMS. A user with the ability to upload files (like an Author) can exploit an XML parsing issue in the Media Library leading to XXE attacks. This requires WordPress installation to be using PHP 8. Access to internal files is possible in a successful XXE attack. This has been patched in WordPress version 5.7.1, along with the older affected versions via a minor release. We strongly recommend you keep auto-updates enabled.

Technical Analysis

REMEDIATION: Update to one of the following versions, or a newer patched version: 4.7.20, 4.8.16, 4.9.17, 5.0.12, 5.1.9, 5.2.10, 5.3.7, 5.4.5, 5.5.4, 5.6.3, 5.7.1 --- IDENTIFIER: CWE-611 (Improper Restriction of XML External Entity Reference) The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C