In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade github.com/oauth2-proxy/oauth2-proxy/pkg/middleware to version 7.13.0 or higher.
Affected versions of this package are vulnerable to HTTP Header Injection via the processing of HTTP headers containing underscores, which are normalized to dashes by certain upstream applications. Authenticated users can escalate privileges by injecting specially crafted X_Forwarded-* headers that bypass filtering logic. This is only exploitable if the upstream application normalizes underscores to dashes in HTTP headers.
This vulnerability can be mitigated by ensuring that filtering and processing logic in upstream services do not treat underscores and hyphens in headers as equivalent.