envoyproxy envoy 对路径名的限制不恰当(路径遍历)
CVE编号
CVE-2021-29492利用情况
暂无补丁情况
N/A披露时间
2021-05-29漏洞描述
Envoy is a cloud-native edge/middle/service proxy. Envoy does not decode escaped slash sequences `%2F` and `%5C` in HTTP URL paths in versions 1.18.2 and before. A remote attacker may craft a path with escaped slashes, e.g. `/something%2F..%2Fadmin`, to bypass access control, e.g. a block on `/admin`. A backend server could then decode slash sequences and normalize path and provide an attacker access beyond the scope provided for by the access control policy. ### Impact Escalation of Privileges when using RBAC or JWT filters with enforcement based on URL path. Users with back end servers that interpret `%2F` and `/` and `%5C` and `\` interchangeably are impacted. ### Attack Vector URL paths containing escaped slash characters delivered by untrusted client. Patches in versions 1.18.3, 1.17.3, 1.16.4, 1.15.5 contain new path normalization option to decode escaped slash characters. As a workaround, if back end servers treat `%2F` and `/` and `%5C` and `\` interchangeably and a URL path based access control is configured, one may reconfigure the back end server to not treat `%2F` and `/` and `%5C` and `\` interchangeably.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/envoyproxy/envoy/security/advisories/GHSA-4987-27fx-x6cf |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | envoyproxy | envoy | * | Up to (excluding) 1.15.5 | |||||
运行在以下环境 | |||||||||
应用 | envoyproxy | envoy | * | From (including) 1.16.0 | Up to (excluding) 1.16.4 | ||||
运行在以下环境 | |||||||||
应用 | envoyproxy | envoy | * | From (including) 1.17.0 | Up to (excluding) 1.17.3 | ||||
运行在以下环境 | |||||||||
应用 | envoyproxy | envoy | * | From (including) 1.18.0 | Up to (excluding) 1.18.3 |
- 攻击路径 网络
- 攻击复杂度 低
- 权限要求 无
- 影响范围 未更改
- 用户交互 无
- 可用性 高
- 保密性 高
- 完整性 高
CWE-ID | 漏洞类型 |
CWE-22 | 对路径名的限制不恰当(路径遍历) |
Exp相关链接

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