OAuth2 Proxy may trust a client-supplied X-Forwarded-Uri header when --reverse-p...
:catte: @cR0w@infosec.exchange
OAuth2 Proxy may trust a client-supplied
X-Forwarded-Uriheader when--reverse-proxyis enabled and--skip-auth-routeor--skip-auth-regexis configured. An attacker can spoof this header so OAuth2 Proxy evaluates authentication and skip-auth rules against a different path than the one actually sent to the upstream application.This can result in an unauthenticated remote attacker bypassing authentication and accessing protected routes without a valid session.
https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-7x63-xv5r-3p2x