Heimdall
Heimdall: Authorization bypass via path normalization mismatch
Heimdall is a cloud native Identity Aware Proxy and Access Control Decision service. Prior to version 0.17.14, Heimdall performs rule matching on the raw (non-normalized) request path, while downstream components may normalize dot-segments according to RFC 3986, Section 6.2.2.3. This discrepancy can result in heimdall authorizing a request for one path (e.g., /user/../admin, or URL-encoded variants such as /user/%2e%2e/admin or /user/%2e%2e%2fadmin. The latter would require the allow_encoded_slashes option to be set to on or no_decode.) while the downstream ultimately processes a different, normalized path (/admin). This issue has been patched in version 0.17.14.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.17.14
Fixed in 0.17.14
Mitigation
Upgrade heimdall to 0.17.14 or later.
References
- Vendor advisory github.com/dadrus/heimdall/security/advisories…
- Patch github.com/dadrus/heimdall/pull/3209
- Patch github.com/dadrus/heimdall/commit/b5dfa484b7a8…
1 more
- Release notes github.com/dadrus/heimdall/releases/tag/v0.17.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.