Description
Adminer 4.16.0 through 6.0.1 contain a pre-authentication Server-Side Request Forgery (SSRF) vulnerability in the optional Elasticsearch driver (plugins/drivers/elastic.php), fixed in 6.0.2. Because adminer/include/auth.inc.php invokes Driver::connect() before the login result is validated, an unauthenticated attacker who submits crafted auth[server], auth[username], and auth[password] parameters can cause the Adminer server to issue an HTTP GET request (via get_url()/file_get_contents()) to an arbitrary reachable host and port. The driver validates only general server syntax and does not block loopback, private, link-local, or other reserved addresses; if no port is given it appends the default 9200, and Adminer's generic port check rejects ports below 1024. Selected JSON error fields from non-2xx Elasticsearch-style responses, as well as connection failures, are rendered on the login page, providing a port-scanning oracle and enabling internal network reconnaissance and service fingerprinting. Exploitation requires that the optional Elasticsearch driver be explicitly deployed (e.g., via the adminer/elastic.php template or an adminer_object() configuration; it is not loaded in a default build) and that PHP allow_url_fopen be enabled.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vrana | adminer | < 6.0.2 | 6.0.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | adminer | 6.0.2-1 | — |
| Debian 13 | adminer | No fix yet | — |
| Debian 12 | adminer | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | adminer | No fix yet | — |
| Ubuntu 26.04 LTS | adminer | No fix yet | — |
| Ubuntu 24.04 LTS | adminer | No fix yet | — |
| Ubuntu 22.04 LTS | adminer | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | adminer | No fix yet | — |
| Ubuntu Pro 18.04 LTS | adminer | No fix yet | — |
| Ubuntu Pro 16.04 LTS | adminer | No fix yet | — |
References
- GitHub Security Advisory (GHSA-q8h3-4cx4-prgm) vendor-advisory
- VulnCheck Advisory: Adminer before 6.0.2 Unauthenticated SSRF via Elasticsearch Driver third-party-advisory