CVE-2024-57155: Spring Handler Interceptor Auth Bypass Returns True On Null User
This Spring HandlerInterceptor.preHandle method returns true when the authenticated principal (e.g. session user / token subject) is null, so unauthenticated requests are allowed to proceed to the controller. preHandle must return false or throw on missing credentials, otherwise the interceptor is a no-op authentication stub (CVE-2024-57155, CWE-284: Imprope
greprules fetch cve-2024-57155-spring-handler-interceptor-auth-bypass-returns-true-on-null-user --engine opengrepDescription
This Spring HandlerInterceptor.preHandle method returns true when the authenticated principal (e.g. session user / token subject) is null, so unauthenticated requests are allowed to proceed to the controller. preHandle must return false or throw on missing credentials, otherwise the interceptor is a no-op authentication stub (CVE-2024-57155, CWE-284: Imprope
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.