cve/2023/CVE-2023-45289.md

19 lines
1.1 KiB
Markdown
Raw Normal View History

2024-06-07 04:52:01 +00:00
### [CVE-2023-45289](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45289)
![](https://img.shields.io/static/v1?label=Product&message=net%2Fhttp%2Fcookiejar&color=blue)
![](https://img.shields.io/static/v1?label=Product&message=net%2Fhttp&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%201.21.8%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-212%3A%20Improper%20Removal%20of%20Sensitive%20Information%20Before%20Storage%20or%20Transfer&color=brighgreen)
### Description
When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/testing-felickz/docker-scout-demo