ZeroHour

CVE-2021-21311

KEV PoC large1

Server-Side Request Forgery in Adminer Database Management Tool (CVE-2021-21311)

CISA: Adminer Server-Side Request Forgery Vulnerability

CVSS 3.1
7.2 high
EPSS
90%p100
Published
()
KEV added
AI analysis

Adminer, a popular single-file PHP database management tool, contains a server-side request forgery vulnerability (CWE-918) in versions 4.0.0 through before 4.7.9 when the deployment bundles all database drivers, such as the standard adminer.php file. An unauthenticated remote attacker can influence the database server address that Adminer connects to, causing the server-side PHP process to issue requests to attacker-chosen internal or external hosts and ports. This can be used to enumerate internal services and, as with other recently exploited SSRF flaws (e.g., the Pandoc attacks against AWS IMDS), to steal cloud instance metadata credentials. Anyone running an affected version, whether standalone or via the Debian adminer package, is exposed. The flaw has an EPSS of 90.5% and was added to CISA's Known Exploited Vulnerabilities catalog on 2025-09-29, confirming active exploitation in the wild.

What to do: Upgrade Adminer to version 4.7.9 or later; on Debian, install the current security update for the adminer package. If upgrading is not immediately possible, restrict access to adminer.php (IP allowlisting, authentication, or removing it from the web root) and review logs for connections from the web server to internal services or cloud metadata endpoints such as 169.254.169.254. As a KEV entry, US federal agencies must apply the required mitigations or discontinue use per BOD 22-01 guidance.

Affected
Adminer (standalone deployments bundling all drivers, e.g. the standard adminer.php)4.0.0 through before 4.7.9
Debian Linux (adminer package)affected when the packaged Adminer is version 4.0.0 through before 4.7.9
Estimated exposure
largeon the order of tens of thousands of internet-exposed Adminer instances (total deployments likely higher) — No hard install counts were provided, but Adminer is a widely deployed single-file admin script routinely left accessible in web roots, and public internet scans have historically indexed tens of thousands of exposed instances, so this…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Adminer is an open-source database management in a single PHP file. In adminer from version 4.0.0 and before 4.7.9 there is a server-side request forgery vulnerability. Users of Adminer versions bundling all drivers (e.g. `adminer.php`) are affected. This is fixed in version 4.7.9.

CISA Known Exploited Vulnerability
Affected
Adminer Adminer
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Due date
Ransomware use
Unknown
Vendors
adminerdebian
Products
adminer, debian linux
Weakness
CWE-918
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

In the news