CVE-2021-21311: Adminer Server-Side Request Forgery Vulnerability

Published Feb 11, 2021
·
Updated

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.

Other sources

Adminer contains a server-side request forgery vulnerability that, when exploited, allows a remote attacker to obtain potentially sensitive information.

— CISA

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 Software

5 affected componentsFixes available
Adminer Adminer>=4.0.0<4.7.9
Debian Debian Linux=9.0
composer/vrana/adminer<4.7.9
4.7.9
Adminer Adminer
composer/vrana/adminer<4.7.9
4.7.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/vrana/adminer to a version that resolves this vulnerability.

    Fixed in 4.7.9
  2. Upgrade

    Upgrade Adminer to a version that resolves this vulnerability.

    Fixed in 4.7.9Patch ccd2374b
  3. Compensating control

    Protect access to Adminer using an HTTP password, IP address limiting, or an OTP plugin.

Event History

Feb 11, 2021
Advisory Published
via Packagist·08:42 PM
Data Sourced
via Packagist·08:42 PM
DescriptionSeverityAffected Software
Data Sourced
via GitHub·08:42 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·08:55 PM
Data Sourced
via MITRE·08:55 PM
DescriptionSeverityWeakness
Data Sourced
09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 24, 2025
News Published
via The Hacker News·07:15 AM
Sep 29, 2025
Kev Listed
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
via CISA·12:00 AM
Weakness
Sep 30, 2025
News Published
via The Hacker News·05:41 AM

Frequently Asked Questions

1

What is the severity of CVE-2021-21311?

CVE-2021-21311 is considered to be a medium severity vulnerability due to its impact on server-side request forgery.

2

How do I fix CVE-2021-21311?

To fix CVE-2021-21311, upgrade Adminer to version 4.7.9 or later.

3

Which versions of Adminer are affected by CVE-2021-21311?

Adminer versions from 4.0.0 to 4.7.8 are affected by CVE-2021-21311.

4

Is CVE-2021-21311 present in Debian Linux 9.0?

CVE-2021-21311 can be present in Debian Linux 9.0 if an affected version of Adminer is used.

5

What type of vulnerability is CVE-2021-21311?

CVE-2021-21311 is categorized as a server-side request forgery vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203