CVE-2023-41329
Domain restrictions bypass via DNS Rebinding in WireMock and WireMock Studio
描述
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 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 versions 2.35.1-1 and 3.0.3-1. 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.
如何修補 CVE-2023-41329
要修補 CVE-2023-41329,請將受影響套件升級到下列已修補版本。
- —升級至 2.35.1 或更新版本
- —升級至 2.35.1 或更新版本
- —升級至 2.35.1 或更新版本
- —升級至 3.0.3 或更新版本
- —升級至 3.0.3 或更新版本
CVE-2023-41329 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(5)
- from 0, < 2.35.1, >= 3.0.0, < 3.0.3
- from 0, < 2.35.1
- from 0, < 2.35.1
- from 0, < 3.0.3
- from 0, < 3.0.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.9 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L |