CVE-2021-21311
JSON

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 packageVersionsReported by
vrana adminer>= 4.0.0, < 4.7.9CVE List
vrana/adminer (Packagist)before 4.7.9GitHub Advisory Database
adminer adminerfrom 4.0.0 before 4.7.9NVD, CISA KEV
debian debian_linux9.0NVD

All scores

GitHub_M7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
GitHub7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
NVD6.4medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:N

Classification

CWE-918

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.&#xa0;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.&#xa0;Los usuarios de las versiones Adminer que incluyen todos los controladores (por ejemplo, "adminer.php") están afectados.&#xa0;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

Sources

SourceRecordLicence
CVE ListCVE-2021-21311 changed 2025-10-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-x5r2-hj5c-8jx6 changed 2026-09-10CC-BY-4.0
NVDCVE-2021-21311 changed 2026-06-17Public domain
CISA KEVCVE-2021-21311 changed 2025-09-29CC0-1.0