vrana/adminer is vulnerable to Server-Side Request Forgery (SSRF)
58
CVE Score
Medium
Server-Side Request Forgery (SSRF)
Adminer's login form validates the connection server string but only inspects a leading integer when enforcing the privileged-port restriction, so a value whose port begins with a non-digit is never range-checked. The unchecked value is interpolated into an unquoted PDO DSN, letting user-controlled host=/port=/unix_socket= keys be smuggled in and honoured last-key-wins by the PDO drivers. Because the connection is attempted before authentication, an unauthenticated request drives the server to open TCP connections to arbitrary internal hosts and ports and to arbitrary unix sockets, acting as a blind request-forgery and internal port-scan oracle. The fix tightens host and port validation, including privileged-port bounds, so smuggled DSN attributes are rejected.
Upgrade the vrana/adminer library to the patch version.
You are affected if an instance on a version in the vulnerable range is reachable by untrusted users, because the vulnerable connection flow runs before authentication — anyone who can reach the login form can submit a crafted server value and drive the smuggled PDO DSN connection. No plugin or non-default configuration is required; the privileged-port validator bypass sits in the default login path. Instances restricted to the PostgreSQL driver are not affected (host/port are quoted), while MySQL/MariaDB, MS SQL (DBLIB/SQLSRV) and Oracle drivers are.
0.0.1 - 5.4.4
Fixed in 5.5.0vrana/adminer is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.0.1 - 5.4.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.