All vulnerabilities

Servers and applications

GHSA-77qq-q8fv-x45v

Adminer 6.0.0: ClickHouse driver reflects arbitrary HTTP response body on login error (pre-auth SSRF with full response echo)

Severity
Medium
Published
7 Sept 2026
Last changed
7 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
6.0.2
Weakness
Server-side request forgery (CWE-918)
Sources
Project advisories (GitHub)

Description

Adminer 6.0.0 (commit 244d906) rewrote the official ClickHouse plugin driver (plugins/drivers/clickhouse.php). In the new rootQuery(), when the target server returns a non-2xx status (other than 401/403), the raw HTTP response body is stored as the connection error ($this->error = trim($file);). The login page then renders this error to an unauthenticated attacker. By submitting auth[driver]=clickhouse&auth[server]=http://:, an unauthenticated attacker makes the Adminer server issue an HTTP POST to an arbitrary internal host and receives the full response body back on the login page — pre-auth SSRF with full response echo.

In v5.4.2 the ClickHouse driver did not reflect the response body (it only surfaced JSON-decoding errors). This behavior was introduced by the 6.0.0 rewrite, so it is a regression on the latest release.

plugins/drivers/clickhouse.php (6.0.0), rootQuery():

From vrana/adminer's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
AdminerServers and applications · github:vrana/adminer
  • Every version before 6.0.2

About Adminer

tool for managing content in MySQL databases

From Wikidata, CC0 1.0.
Docker Hub pulls
411,345,578Docker Hub, 15 Nov 2026
GitHub stars
7,954GitHub, 15 Nov 2026
Forks
1,181GitHub, 15 Nov 2026
Latest release
v6.3.0GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
Developer
Jakub VránaWikidata
License
Apache LicenseWikidata
Written in
PHPWikidata
First released
11 Jul 2007Wikidata
First published on GitHub
25 Apr 2010GitHub

References