Advisory

GHSA-x5r2-hj5c-8jx6

Also known as: CVE-2021-21311

Summary

SSRF in adminer

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-02-11 20:42 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

vrana/adminer

Packagist · All systems

Affected

  • introduced 0, fixed 4.7.9 (ecosystem)

Fixed versions

4.7.9

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences