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
Adminer-CVE-2021-43008 — Adminer CVE-2021-43008 PoC | Kitploit
Tools/GitHubGitHub/daturasaturated/adminer-cve-2021-43008
Vulnerability AnalysisExploitationWeb Application ExploitationData ExfiltrationPenetration TestingDatabase Security
GitHubdaturasaturated/adminer-cve-2021-43008

Adminer-CVE-2021-43008

Adminer CVE-2021-43008 PoC

View Repository
136 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Adminer CVE-2021-43008 PoC

Proof-of-concept exploit for CVE-2021-43008 affecting Adminer.

This vulnerability allows a malicious MySQL server to request arbitrary local files from the client machine when LOAD DATA LOCAL INFILE is enabled.

The repository contains tools to reproduce the attack.

Repository contents

exploit.py
Python script that automates interaction with Adminer.

Features:

  • authenticates to Adminer
  • extracts CSRF token
  • sends SQL queries
  • triggers LOAD DATA LOCAL INFILE
  • parses returned file contents

setup_mysql_server.sh
Helper script that prepares a malicious MySQL/MariaDB server for exploitation.

The script:

  • configures MariaDB to listen on a custom port
  • enables local_infile
  • creates a database and user
  • prepares the environment for exploitation

Requirements

Python 3.x

Libraries: requests beautifulsoup4 lxml

Usage

Run the setup script:

root@kitploit:~
sudo ./script.sh <IP> <PORT>
Download Tool

Then run the exploit:

root@kitploit:~
python exploit.py <adminer_url> <mysql_host> <username> <password> <database> <file_path>