中危 guzzlephp guzzle 信息暴露
CVE编号
CVE-2022-31090利用情况
暂无补丁情况
官方补丁披露时间
2022-06-28漏洞描述
Guzzle, an extensible PHP HTTP client. `Authorization` headers on requests are sensitive information. In affected versions when using our Curl handler, it is possible to use the `CURLOPT_HTTPAUTH` option to specify an `Authorization` header. On making a request which responds with a redirect to a URI with a different origin (change in host, scheme or port), if we choose to follow it, we should remove the `CURLOPT_HTTPAUTH` option before continuing, stopping curl from appending the `Authorization` header to the new request. Affected Guzzle 7 users should upgrade to Guzzle 7.4.5 as soon as possible. Affected users using any earlier series of Guzzle should upgrade to Guzzle 6.5.8 or 7.4.5. Note that a partial fix was implemented in Guzzle 7.4.2, where a change in host would trigger removal of the curl-added Authorization header, however this earlier fix did not cover change in scheme or change in port. If you do not require or expect redirects to be followed, one should simply disable redirects all together. Alternatively, one can specify to use the Guzzle steam handler backend, rather than curl.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | guzzlephp | guzzle | * | Up to (excluding) 6.5.8 | |||||
运行在以下环境 | |||||||||
应用 | guzzlephp | guzzle | * | From (including) 7.0.0 | Up to (excluding) 7.4.5 | ||||
运行在以下环境 | |||||||||
系统 | debian_10 | mediawiki | * | Up to (excluding) 1.31.16-1+deb10u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | mediawiki | * | Up to (excluding) 1:1.35.8-1~deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | guzzle | * | Up to (excluding) 1:1.35.7-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | guzzle | * | Up to (excluding) 1:1.35.7-1 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-200 | 信息暴露 |
CWE-212 | 敏感数据的不恰当跨边界移除 |
Exp相关链接

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