Http4k
http4k before 6.48.0.0 Digest Authentication Replay Protection Bypass
http4k's Digest authentication module (org.http4k:http4k-security-digest) before versions 6.48.0.0, 5.42.0.0 and 4.51.0.0 defaults the nonceVerifier parameter of ServerFilters.DigestAuth and DigestAuthProvider to { true }, so every nonce is accepted regardless of its value, age, or prior use. Applications relying on this default have no replay protection on Digest authentication: an attacker who can capture a valid 'Authorization: Digest' response (for example by observing network traffic or reading logs) can replay it indefinitely against the same protected resource.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6.0.0.0, < 6.48.0.0
Fixed in 6.48.0.0
- >= 5.0.0.0, < 5.42.0.0
Fixed in 5.42.0.0
- < 4.51.0.0
Fixed in 4.51.0.0
Mitigation
Upgrade http4k to 6.48.0.0 or later.
Upgrade http4k to 5.42.0.0 or later.
Upgrade http4k to 4.51.0.0 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.