CVE-2021-21311
SSRF in adminer
Reported by github_m · Published February 11, 2021
vrana/adminer is fixed in 4.7.9 (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vrana/adminer | Packagist | 4.7.9 |
| adminer | adminer | 4.7.9 |
| adminer | Ubuntu:Pro:18.04:LTS | 4.6.2-1ubuntu0.1~esm1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vrana | adminer | >= 4.0.0, < 4.7.9 |
| vrana | adminer | 4.0.0 |
Timeline
- Feb 11, 2021 CVE Published
- Feb 12, 2021 PoC Published (14 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Feb 14, 2022 VulnCheck XDB Entry
- Mar 31, 2022 Nuclei Template
- Mar 31, 2022 Fix Commit
- May 4, 2022 VulnCheck KEV Exploitation (49 in total, the first dated here)
- Sep 29, 2025 CISA KEV Added
- Feb 23, 2026 CVE Updated
- Mar 7, 2026 Distribution Patch
- Mar 7, 2026 Security Advisory (2 in total, the first dated here)
- Aug 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-21311
vulnetix vdb fixes CVE-2021-21311
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-21311/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20210302 [SECURITY] [DLA 2580-1] adminer security update mailing-listx_refsource_MLIST
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21311 url