Http4k
http4k: `DigestAuthProvider.verify` did not bind to request URI
http4k is a functional toolkit for Kotlin HTTP applications. Prior to 4.51.0.0, 5.42.0.0, and 6.50.0.0, DigestAuthProvider.verify in http4k-security-digest does not compare the uri parameter in an Authorization: Digest response with the actual request URL. An attacker who captures a valid Digest authentication response can replay it against another URL served by the same realm, bypassing the per-request-URI binding and potentially gaining unauthorized read or write access. This issue is fixed in versions 4.51.0.0, 5.42.0.0, and 6.50.0.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.51.0.0
- >= 5.0.0.0, < 5.42.0.0
- >= 6.0.0.0, < 6.50.0.0
Fixed in 4.51.0.0, 5.42.0.0, 6.50.0.0
Mitigation
Upgrade http4k to 4.51.0.0 or 5.42.0.0 or 6.50.0.0 or later.
References
- Vendor advisory github.com/http4k/http4k/security/advisories/G…
- Patch github.com/github/advisory-database/pull/9477
- Patch github.com/http4k/http4k/commit/725f1b96978dd4…
1 more
- Release notes github.com/http4k/http4k/releases/tag/6.50.0.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.