net/http 中 HTTP 重定向时敏感标头和 cookie 的转发不正确 (CVE-2023-45289)
CVE编号
CVE-2023-45289利用情况
暂无补丁情况
N/A披露时间
2024-03-06漏洞描述
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.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://go.dev/cl/569340 | |
https://go.dev/issue/65065 | |
https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg | |
https://pkg.go.dev/vuln/GO-2024-2600 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
系统 | alpine_3.19 | go | * | Up to (excluding) 1.21.8-r0 |
- 攻击路径 N/A
- 攻击复杂度 N/A
- 权限要求 N/A
- 影响范围 N/A
- 用户交互 N/A
- 可用性 N/A
- 保密性 N/A
- 完整性 N/A
CWE-ID | 漏洞类型 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论