Actively exploited · Published Feb 11, 2021 · Assigned by GitHub_M
CVE-2021-21311SSRF in adminer
High 7.2 Exploited
In plain English
A high-severity server-side request forgery in adminer from vrana. Attackers are actively exploiting it in the wild (listed by CISA on September 29, 2025). The chance it is exploited in the next 30 days is estimated at 98.5% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Federal agencies must remediate by Oct 20, 2025.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | adminer | 4.7.9-1 | DEBIAN-CVE-2021-21311 |
| Debian:13 | adminer | 4.7.9-1 | DEBIAN-CVE-2021-21311 |
| Debian:14 | adminer | 4.7.9-1 | DEBIAN-CVE-2021-21311 |
| Packagist | vrana/adminer | 4.7.9 | GHSA-x5r2-hj5c-8jx6 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
References
- https://github.com/vrana/adminer/security/advisories/GHSA-x5r2-hj5c-8jx6 x_refsource_CONFIRM
- https://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf x_refsource_MISC
- https://packagist.org/packages/vrana/adminer x_refsource_MISC
- https://github.com/vrana/adminer/commit/ccd2374b0b12bd547417bf0dacdf153826c83351 x_refsource_MISC
- [debian-lts-announce] 20210302 [SECURITY] [DLA 2580-1] adminer security update mailing-list, x_refsource_MLIST
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21311 government-resource