CVE-2021-29447: WordPress Authenticated XXE attack when installation is running PHP 8
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/wordpressto a version that resolves this vulnerability.Fixed in 5.0.15+dfsg1-0+deb10u1Fixed in 5.0.19+dfsg1-0+deb10u1Fixed in 5.7.8+dfsg1-0+deb11u2Fixed in 6.1.1+dfsg1-1Fixed in 6.3.1+dfsg1-1 - Upgrade
Upgrade
WordPressto a version that resolves this vulnerability.Fixed in 5.7.1 - Configuration
Keep WordPress auto-updates enabled.
WordPress auto-updates = enabled
Event History
Frequently Asked Questions
What is CVE-2021-29447?
CVE-2021-29447 is a vulnerability in WordPress that allows a user with the ability to upload files to exploit an XML parsing issue in the Media Library, leading to XXE attacks.
What is the severity of CVE-2021-29447?
CVE-2021-29447 has a severity level of 6.5, which is considered high.
How can a user exploit CVE-2021-29447?
A user with the ability to upload files, such as an Author, can exploit CVE-2021-29447 by uploading a malicious XML file in the Media Library.
What versions of WordPress are affected by CVE-2021-29447?
WordPress versions 5.0.15+dfsg1-0+deb10u1, 5.0.19+dfsg1-0+deb10u1, 5.7.8+dfsg1-0+deb11u2, 6.1.1+dfsg1-1, and 6.3.1+dfsg1-1 are affected by CVE-2021-29447.
How can I fix CVE-2021-29447 in WordPress?
To fix CVE-2021-29447 in WordPress, it is recommended to update to a fixed version of the software provided by the vendor.