Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungLarge AI Labs Face Regulatory Capture Allegations(21.09.2026 um 05:18 Uhr)
Sichere ProgrammierungWhat people are building with Jev: a look through nine awesome lists(21.09.2026 um 05:44 Uhr)
IT Security Toolsnetwatch v0.32.3(21.09.2026 um 04:36 Uhr)
Sichere ProgrammierungLarge AI Labs Face Regulatory Capture Allegations(21.09.2026 um 05:18 Uhr)
Sichere ProgrammierungWhat people are building with Jev: a look through nine awesome lists(21.09.2026 um 05:44 Uhr)
IT Security Toolsnetwatch v0.32.3(21.09.2026 um 04:36 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

CVE-2025-22234: The 73rd Byte: How a Spring Security Fix Created a Timing Leak

Reagiere als Erste:r — dein Feedback zählt!

The 73rd Byte: How a Spring Security Fix Created a Timing Leak

Vulnerability ID: CVE-2025-22234
CVSS Score: 5.3
Published: 2026-01-22

A medium-severity timing attack vulnerability in Spring Security's DaoAuthenticationProvider. An improperly implemented length check for BCrypt passwords allowed attackers to bypass timing mitigations and enumerate usernames by analyzing response times.

TL;DR

Spring Security tried to fix a password truncation issue (CVE-2025-22228) by banning passwords longer than 72 bytes. However, they enforced this check too early in the authentication flow. By sending a 73+ byte password, attackers could trigger an immediate exception for non-existent users (bypassing the 'dummy' hash), while existing users took longer to process. This timing discrepancy allowed for reliable username enumeration.

⚠️ Exploit Status: POC

Technical Details

  • CWE ID: CWE-208
  • Attack Vector: Network
  • CVSS: 5.3 (Medium)
  • Impact: Information Disclosure (Username Enumeration)
  • Exploit Status: PoC Available
  • Root Cause: Exception thrown before constant-time operation

Affected Systems

  • Spring Security 6.4.4
  • Spring Security 6.3.8
  • Spring Security 6.2.10
  • Spring Security 6.1.14
  • Spring Security 6.0.16
  • Spring Security 5.8.18
  • Spring Security 5.7.16
  • Spring Security: 6.4.4 (Fixed in: 6.4.5)
  • Spring Security: 6.3.8 (Fixed in: 6.3.9)
  • Spring Security: 5.8.18 (Fixed in: 5.8.19)

Code Analysis

Commit: b478716

Ensure BCryptPasswordEncoder checks length only on encode

if (!for_check && passwordb.length > 72) { ... }

Exploit Details

  • GitHub: Proof of concept discussed in issue tracker

Mitigation Strategies

  • Upgrade Spring Security to the latest patch release immediately.
  • Implement generic rate limiting on login endpoints to make enumeration tedious even if timing leaks exist.
  • Monitor for high rates of 500 Internal Server Errors or specific IllegalArgumentExceptions on login endpoints, which might indicate an active exploitation attempt.

Remediation Steps:

  1. Identify the Spring Security version in use via pom.xml or build.gradle.
  2. Update to the fixed version corresponding to your release line (e.g., 6.4.4 -> 6.4.5, 6.3.8 -> 6.3.9).
  3. Verify the fix by running the provided timing attack PoC against a staging environment.

References

Read the full report for CVE-2025-22234 on our website for more details including interactive diagrams and full exploit analysis.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten CVE-2025-22234: The 73rd Byte: How a Spring Security Fix Created a Timing Leak

Thematisch verwandte Begriffe: CVE202522234, 73rd, Byte, Spring · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94104 | NivoCart through 2.4.0 contains an arbitrary file upload vulnerability i…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick