vrana/adminer is vulnerable to HTTP Response Splitting
69
Medium Risk
Adminer derives cookie and session paths from REQUEST_URI after prepending the client-influenced X-Forwarded-Prefix header without sanitizing separator characters. Because the tainted value is written directly into the path attribute of manually built Set-Cookie headers, semicolon-separated directives injected through the header become additional cookie attributes. This lets externally controlled input add attributes such as Domain or SameSite to the adminer_sid and adminer_key cookies, downgrading same-site protection and exposing session and key material. The fix escapes and normalizes REQUEST_URI before it is used for cookie and redirect paths.
You are affected if you are using a version that falls within the vulnerable range and you forward client-supplied X-Forwarded-Prefix header to Adminer.
vrana/adminer is vulnerable to HTTP Response Splitting in versions 4.6.0 - 5.4.2.
Upgrade the vrana/adminer library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant