Description (CNA)
Hurl is a command line tool that runs and tests HTTP requests defined in plain text files. In version 8.0.1 and earlier, the redirect handling in packages/hurl/src/http/client.rs strips Authorization and Cookie headers and basic-auth credentials when a redirect changes host, but it carries RequestSpec.cookies created from the dedicated [Cookies] section into the redirected request. An attacker-controlled redirect can therefore receive authentication or session cookies that should remain scoped to the original host. Cookies supplied through a raw Cookie header are stripped and are not affected by this specific path. This issue is reported as fixed in version 8.1.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Orange-OpenSource / hurl | affected <= 8.0.1 |
CWE
CWE-201
References
- https://github.com/Orange-OpenSource/hurl/security/advisories/GHSA-7w2g-9mf9-324m
- https://github.com/Orange-OpenSource/hurl/pull/5119
- https://github.com/Orange-OpenSource/hurl/commit/ed91c894c2cf11704422010554037e3ba70b446e
- https://github.com/Orange-OpenSource/hurl/releases/tag/8.0.1
ADP enrichment
No English description supplied.
No references supplied.