https://bz.apache.org/bugzilla/show_bug.cgi?id=70377
zaxyr <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- Status|RESOLVED |REOPENED --- Comment #3 from zaxyr <[email protected]> --- exp_tomcat_lockout.py 1. Trigger lock: 3 failed logins as alice (wrong password) 2. Post-lock: send more auth attempts for the locked alice (including valid creds) 3. Measure timing + read auth.log on the target ### 🎯 Hard proof — /tmp/auth.log from the target: AUTH-CALL #4 alice/wrong ← 3rd failure, LOCK TRIGGERED AUTH-CALL #5 alice/secret ← VALID CREDS, LOCKED, STILL AUTHENTICATED (300ms!) AUTH-CALL #6 alice/wrong ← LOCKED, STILL AUTHENTICATED AUTH-CALL #7 alice/wrong ← LOCKED, STILL AUTHENTICATED AUTH-CALL #8 alice/wrong ← LOCKED, STILL AUTHENTICATED AUTH-CALL #9 bob/wrong ← non-locked control (also 300ms) ### Timing (the fail-fast test) | Scenario | Latency | | Locked alice (post-lock) | 306ms | | Unlocked alice failure | 308ms | | Non-locked bob (control) | 306ms | Locked attempts pay the full child-realm cost — identical to unlocked. The lock filters only the result (valid creds → HTTP 200 = redirect to error page = denied), never the work (LDAP bind/DB lookup happens every time). This is exactly the timing-oracle + CPU-amplification vulnerability . -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
