CVE-2026-100696

Adminer before 6.0.2 Unauthenticated SSRF via Elasticsearch Driver

Published Sep 26, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a pre‑authentication server‑side request forgery in the optional Elasticsearch driver of Adminer. It occurs because the driver is invoked before the user’s credentials are validated, allowing an unauthenticated attacker to supply a crafted auth[server] parameter that forces Adminer to issue an HTTP GET request via PHP’s file_get_contents to any reachable host and port. Because the driver only performs general syntax checks, it does not block loopback, private, link‑local, or reserved addresses, and defaults to port 9200 when none is provided. The driver then exposes selected JSON error fields from non‑2xx responses or connection failures on the login page, providing a useful port‑scanning oracle for internal network reconnaissance and service fingerprinting.

Affected Systems

The flaw affects Adminer versions 4.16.0 through 6.0.1 when the optional Elasticsearch driver has been explicitly deployed, such as by including adminer/elastic.php or configuring an adminer_object() to load the driver. The vulnerability is present when the PHP setting allow_url_fopen is enabled. The affected vendor is vrana, product Adminer.

Risk and Exploitability

The CVSS score of 6.9 classifies the vulnerability as medium severity. Although EPSS data is unavailable, the lack of a KEV listing suggests no known exploitation activity. The attack is feasible against any publicly accessible Adminer instance that has the Elasticsearch driver installed and allow_url_fopen enabled; a single unauthenticated request to the login page can trigger the SSRF to target any internal host and return error information that enables port scanning and network enumeration. The vulnerability is described by CWE‑918 (Server‑Side Request Forgery).

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Adminer to version 6.0.2 or later to apply the SSRF fix.
  • If an upgrade cannot be performed, remove or disable the optional Elasticsearch driver (elastic.php) and any configuration that loads it.
  • For deployments that must keep the driver, disable PHP allow_url_fopen or configure firewall rules to restrict outbound connections, preventing the vulnerable driver from reaching internal hosts.

Generated by OpenCVE AI on September 26, 2026 at 16:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vrana
Vrana adminer
Vendors & Products Vrana
Vrana adminer
Type Values Removed Values Added
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.
Title Adminer before 6.0.2 Unauthenticated SSRF via Elasticsearch Driver
First Time appeared Adminer
Adminer adminer
Weaknesses CWE-918
CPEs cpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:*
Vendors & Products Adminer
Adminer adminer
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 28, 2026, 4:28 PM
Reserved
Sep 26, 2026, 2:39 AM
Status
Awaiting Analysis
Published
Sep 26, 2026, 2:16 PM
Modified
Sep 28, 2026, 5:17 PM