7.2highExploited
SSRF in adminer
- Severity
- 7.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 98.5% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-x5r2-hj5c-8jx6
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
| Product or package | Versions | Reported by |
|---|---|---|
| vrana adminer | >= 4.0.0, < 4.7.9 | CVE List |
| vrana/adminer (Packagist) | before 4.7.9 | GitHub Advisory Database |
| adminer adminer | from 4.0.0 before 4.7.9 | NVD, CISA KEV |
| debian debian_linux | 9.0 | NVD |
All scores
| GitHub_M | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Classification
SSVC (CISA-ADP): exploitation active, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Users of Adminer versions bundling all drivers (e.g. adminer.php) are affected.
Patches
Patched by ccd2374b, included in version 4.7.9.
Workarounds
- Use a single driver version (e.g.
adminer-mysql.php). - Protect access to Adminer also by other means, e.g. by HTTP password, IP address limiting or by OTP plugin.
References
https://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf
For more information
If you have any questions or comments about this advisory:
- Comment at ccd2374b.
NVD (es)
Adminer es una administración de base de datos de código abierto en un solo archivo PHP. En el administrador de la versión 4.0.0 y antes de la 4.7.9, se presenta una vulnerabilidad de tipo server-side request forgery. Los usuarios de las versiones Adminer que incluyen todos los controladores (por ejemplo, "adminer.php") están afectados. Esto es corregido en la versión 4.7.9
CISA KEV
Adminer contains a server-side request forgery vulnerability that, when exploited, allows a remote attacker to obtain potentially sensitive information.
References
| https://github.com/vrana/adminer/security/advisories/GHSA-x5r2-hj5c-8jx6 | kev, patch, third-party-advisory, web | |
| https://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf | exploit, third-party-advisory, web | |
| https://packagist.org/packages/vrana/adminer | product, third-party-advisory, web | |
| https://github.com/vrana/adminer/commit/ccd2374b0b12bd547417bf0dacdf153826c83351 | patch, web | |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00002.html | mailing-list, third-party-advisory, web | |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21311 | government-resource, us-government-resource, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-21311 | advisory, kev | |
| https://github.com/vrana/adminer | package | |
| https://sourceforge.net/p/adminer/news/2021/02/adminer-479-released | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21311 changed 2025-10-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-x5r2-hj5c-8jx6 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-21311 changed 2026-06-17 | Public domain |
| CISA KEV | CVE-2021-21311 changed 2025-09-29 | CC0-1.0 |