中危 WireMock 安全漏洞(CVE-2023-41329)
CVE编号
CVE-2023-41329利用情况
暂无补丁情况
官方补丁披露时间
2023-09-07漏洞描述
WireMock is a tool for mocking HTTP services. The proxy mode of WireMock, can be protected by the network restrictions configuration, as documented in Preventing proxying to and recording from specific target addresses. These restrictions can be configured using the domain names, and in such a case the configuration is vulnerable to the DNS rebinding attacks. A similar patch was applied in WireMock 3.0.0-beta-15 for the WireMock Webhook Extensions. The root cause of the attack is a defect in the logic which allows for a race condition triggered by a DNS server whose address expires in between the initial validation and the outbound network request that might go to a domain that was supposed to be prohibited. Control over a DNS service is required to exploit this attack, so it has high execution complexity and limited impact. This issue has been addressed in version 2.35.1 of wiremock-jre8 and wiremock-jre8-standalone, version 3.0.3 of wiremock and wiremock-standalone, version 2.6.1 of the python version of wiremock, and versions 2.35.1-1 and 3.0.3-1 of the wiremock/wiremock Docker container. Users are advised to upgrade. Users unable to upgrade should either configure firewall rules to define the list of permitted destinations or to configure WireMock to use IP addresses instead of the domain names.解决建议
"将组件 org.wiremock:wiremock-standalone 升级至 3.0.3 及以上版本""将组件 wiremock 升级至 2.6.1 及以上版本""将组件 com.github.tomakehurst:wiremock-jre8-standalone 升级至 2.35.1 及以上版本""将组件 com.github.tomakehurst:wiremock-jre8 升级至 2.35.1 及以上版本""将组件 org.wiremock:wiremock 升级至 3.0.3 及以上版本"
参考链接 |
|
---|---|
https://github.com/wiremock/wiremock/security/advisories/GHSA-pmxq-pj47-j8j4 | |
https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording... |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | wiremock | python_wiremock | * | Up to (excluding) 2.6.1 | |||||
运行在以下环境 | |||||||||
应用 | wiremock | studio | * | Up to (including) 2.32.0-17 | |||||
运行在以下环境 | |||||||||
应用 | wiremock | wiremock | * | Up to (excluding) 2.35.1 | |||||
运行在以下环境 | |||||||||
应用 | wiremock | wiremock | * | From (including) 3.0.0 | Up to (excluding) 3.0.3 | ||||
运行在以下环境 | |||||||||
应用 | wiremock | wiremock_docker | * | From (including) 2.0.0 | Up to (excluding) 2.35.1-1 | ||||
运行在以下环境 | |||||||||
应用 | wiremock | wiremock_docker | * | From (including) 3.0.0 | Up to (excluding) 3.0.3-1 |
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-290 | 使用欺骗进行的认证绕过 |
Exp相关链接

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