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-2022-21661-Demo — Demonstration of the SQL injection vulnerability in wordpress 5.8.2 | Kitploit
Tools/GitHubGitHub/daniel616/cve-2022-21661-demo
Vulnerability AnalysisWeb Application ExploitationWeb SecurityLearning & EducationDatabase SecurityLabs & Practice
GitHubdaniel616/cve-2022-21661-demo

CVE-2022-21661-Demo

Demonstration of the SQL injection vulnerability in wordpress 5.8.2

View Repository
21253 years agoNot yet reviewed
Share

This repository demonstrates a vulnerability in WordPress 5.8.2, in which missing sanitization in class-wp-tax-query.php can, in very specific situations, allow attackers to perform SQL injection. Note that successful exploitation requires developers to add vulnerable code to the WordPress instance, in which unsanitized user input is passed to a $terms variable that is used to construct a SQL function. See evil.php in the included "evil" plugin, and the lack of sanitization of the $terms variable in get_sql_for_clause in class-wp-tax-query.php.

The vulnerable/malicious plugin is located at src/wp-content/plugins/evil/evil.php.

Demonstration steps sudo docker-compose up follow the installation instructions at localhost active the wordpress plugin in the admin panel (it's titled evil plugin) Send the request in newexploit_req.txt to the newly created server. You should get a time delay. Note that the vulnerability demonstrated by the plugin is a blind sql injection, so if you want to try data retrieval you'll need to retreive data either via time delays or errors.

Debugging notes sudo service docker restart if name resolution failure occurs adjust xdebug.client_host=172.19.0.1 in xdebug.ini as needed

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.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    544
  • 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.

    385
  • 4

    redforge

    cybersecurity91/redforge

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

    360
  • 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.

    302
  • 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.

    279

Explore all tools

Browse our collection of tools

View all tools →