Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2021-29447_auto-script — This repo describes about cve-2021-29447 and a small script for exploiting automatically | Kitploit
Tools/GitHubGitHub/davids52/cve-2021-29447_auto-script
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubdavids52/cve-2021-29447_auto-script

cve-2021-29447_auto-script

This repo describes about cve-2021-29447 and a small script for exploiting automatically

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
8 months agoNot yet reviewed

CVE-2021-29447: WordPress Media Library XXE Vulnerability

This repository details the CVE-2021-29447 vulnerability, a critical security flaw in WordPress that allowed for authenticated XML External Entity (XXE) attacks through the Media Library. It also provides an automatic script that demonstrates the proof of concept (PoC).

📌 Vulnerability Overview

The vulnerability existed in WordPress's processing of metadata within uploaded audio files. Specifically:

  • Root Cause: WordPress uses the getID3 library to parse metadata from media files like WAV files. A WAV file can contain a chunk of XML data called iXML. Attackers could craft a malicious WAV file with XML content that, when parsed by the vulnerable library, triggers an XXE attack.

  • Affected Versions: WordPress versions 5.6 to 5.7.

  • Key Requirement: The WordPress installation must be running on PHP 8, as changes in PHP 8's default Libxml2 configuration were central to the exploit.

  • Impact: Successful exploitation could lead to arbitrary file disclosure (e.g., reading wp-config.php to obtain database credentials) and Server-Side Request Forgery (SSRF)

  • Below is the code snippet which try to parse XML data in iXML subchunk:

    image

✨ Script Features

  • Automates the entire process: Creates the malicious WAV file and DTD, handles file upload to the target WordPress site, and sets up a listener to receive exfiltrated data.

  • Configurable: Allows you to specify the target file path for exfiltration.

🚀 Basic Usage

  • Before running the script, you must update its configuration section with your target details (WordPress URL, credentials, target file, and your listener IP address)
  • Then run the script by ./payload.sh

⚠️ CRITICAL DISCLAIMER

  • The information, proof of concept, and script in this repository are provided strictly for educational and research purposes. You must only test this against systems you own or have explicit, written permission to test. Unauthorized testing against systems you do not own is illegal and unethical.

Other reference

  • I recommend you this reference if you want more detail about how to reproduce this CVE,
Download Tool