Description
In Eclipse Jetty, the class JASPIAuthenticator initiates the authentication checks, which set two ThreadLocal variable. Upon returning from the initial checks, there are conditions that cause an early return from the JASPIAuthenticator code without clearing those ThreadLocals. A subsequent request using the same thread inherits the ThreadLocal values, leading to a broken access control and privilege escalation.
Remediation
References
Related Vulnerabilities
Jenkins Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2017-2600)
Jenkins Deserialization of Untrusted Data Vulnerability (CVE-2017-1000355)
MediaWiki Unquoted Search Path or Element Vulnerability (CVE-2021-31553)
Oracle Database Server CVE-2010-0853 Vulnerability (CVE-2010-0853)