This vulnerability is trending on Twitter; this may indicate a growing threat.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 Steeltoe.Security.Authentication.OpenIdConnect to version 4.2.0 or higher.
Affected versions of this package are vulnerable to Exposure of Resource to Wrong Sphere in the TokenKeyResolver function. An attacker can bypass authentication and gain unauthorized access by exploiting the shared static JWKS cache across multiple schemes, allowing a key fetched for one identity provider to validate tokens for another. This also enables the use of stale or revoked keys due to the lack of cache expiration.
Note:
This is only exploitable if multiple JwtBearer schemes are configured with different identity providers in the same application.
This vulnerability can be mitigated by configuring only one JwtBearer scheme per application when different identity providers are required, and/or restarting the application process after an identity provider signing key rotation to clear stale cached keys.