5.3medium
Adminer before 5.5.0 Open Redirect via X-Forwarded-Prefix
- Severity
- 5.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Adminer 4.6.0 before 5.5.0 prepends the client-supplied X-Forwarded-Prefix header to $_SERVER["REQUEST_URI"] with no trusted-proxy check and no validation of the prefix value. An attacker can supply an absolute URL (e.g. X-Forwarded-Prefix: https://evil.example) that flows into Location redirect headers, the Set-Cookie path attribute, and self-referential links. This enables an authenticated open redirect after state-changing POSTs, unauthenticated control of the session cookie path attribute, and poisoning of self-referential links; CR/LF cannot be injected, so header splitting/XSS is not possible.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vrana adminer | before 5.5.0 Not affected: 5.5.0 | CVE List |
All scores
| VulnCheck | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N |
| VulnCheck | 4.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Adminer 4.6.0 before 5.5.0 prepends the client-supplied X-Forwarded-Prefix header to $_SERVER["REQUEST_URI"] with no trusted-proxy check and no validation of the prefix value. An attacker can supply an absolute URL (e.g. X-Forwarded-Prefix: https://evil.example) that flows into Location redirect headers, the Set-Cookie path attribute, and self-referential links. This enables an authenticated open redirect after state-changing POSTs, unauthenticated control of the session cookie path attribute, and poisoning of self-referential links; CR/LF cannot be injected, so header splitting/XSS is not possible.
NVD (es)
Adminer 4.6.0 anterior a 5.5.0 antepone el encabezado X-Forwarded-Prefix proporcionado por el cliente a $_SERVER[“REQUEST_URI”] sin verificación de proxy de confianza y sin validación del valor del prefijo. Un atacante puede proporcionar una URL absoluta (p. ej., X-Forwarded-Prefix: https://evil.example) que se incorpora a los encabezados de redirección Location, al atributo de ruta de Set-Cookie y a los enlaces autorreferenciales. Esto permite una redirección abierta autenticada después de POSTs que cambian el estado, control no autenticado del atributo de ruta de la cookie de sesión y el envenenamiento de enlaces autorreferenciales; no se puede inyectar CR/LF, por lo que la división de encabezados/XSS no es posible.
References
| https://github.com/vrana/adminer/security/advisories/GHSA-8478-xrj3-h9c2 | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/adminer-before-open-redirect-via-x-forwarded-prefix | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34959 changed 2026-08-26 | CVE Terms of Use |
| NVD | CVE-2026-34959 changed 2026-10-12 | Public domain |