
A secure, zero-trust database management tool for WordPress. Fixes critical SSRF vulnerabilities (CVE-2021-21311) by enforcing local connections only.
Contributors: SudoWP, WP Republic
Original Authors: Frank Bültge, Inpsyde
Tags: adminer, database, security, cve-2021-21311, ssrf-patch
Requires at least: 5.8
Tested up to: 6.7
Stable tag: 1.5.0
License: GPLv2 or later
This is a security-hardened fork of the "Adminer" WordPress plugin.
The Threat: Standard Adminer installations often allow Server-Side Request Forgery (SSRF). Attackers can use the login form to force the server to connect to internal services (e.g., AWS Metadata, internal APIs), leading to information disclosure.
The Solution:
SudoWP Adminer enforces a "Localhost Only" policy. It hardcodes the connection to the WordPress database defined in wp-config.php, completely mitigating the SSRF vector.
** Important Security Notice:** This plugin uses Adminer core version 4.2.4 (2015). While CVE-2021-21311 is patched, the older core may have other known vulnerabilities. The admin-only, localhost-only security model significantly reduces risk. See SECURITY.md for details.
Recommended Use:
SudoWP Adminer provides a powerful database management interface (similar to phpMyAdmin) but secured specifically for WordPress environments.
SSRF Prevention:
DB_HOST, DB_USER, and DB_PASSWORD.Access Control:
current_user_can('manage_options') before loading..php files directly via the browser returns a 403 Forbidden error.Auto-Login:
sudowp-adminer folder to your /wp-content/plugins/ directory.Maintained by the SudoWP Security Project.