CVE-2021-29447 HIGH

CVE-2021-29447: WordPress Authenticated XXE attack when installation is running PHP 8

Vendor Wordpress
Product wordpress-develop
Weakness CWE-611 · XXE
Published April 15, 2021
Last update August 3, 2024

CVSS base score

7.1/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

WordPress versions 5.6.0 through 5.7.0 contain an XML parsing vulnerability in media handling. An attacker with low-level site access can craft a malicious XML file that, when uploaded and processed, reads sensitive files from the server or makes unauthorized requests. The vulnerability stems from unsafe XML entity expansion during media import or processing.

What an attacker can do

03Attacker Capabilities

Read sensitive files from the server or make the site send requests to internal systems.

Potential impact on your site

04Site Impact

Attackers with basic site access can extract configuration files, database credentials, or internal data via malicious media uploads.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege WordPress account (e.g., contributor or subscriber with upload permissions).

Key dates

06Disclosure timeline

April 15, 2021 CVE published
August 3, 2024 Record updated