CVE-2023-41329

LOW

WireMock - DNS Rebinding Attack via Proxy Mode Network Restrictions

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 3.9
EPSS 0.0057
EPSS Percentile 42.6%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-290
Status published
Products (9)
com.github.tomakehurst/wiremock-jre8 0 - 2.35.1Maven
com.github.tomakehurst/wiremock-jre8-standalone 0 - 2.35.1Maven
org.wiremock/wiremock 0 - 3.0.3Maven
org.wiremock/wiremock-standalone 0 - 3.0.3Maven
pypi/wiremock 0 - 2.6.1PyPI
wiremock/python_wiremock < 2.6.1
wiremock/studio < 2.32.0-17
wiremock/wiremock < 2.35.1
wiremock/wiremock_docker 2.0.0 - 2.35.1-1
Published Sep 06, 2023
Tracked Since Feb 18, 2026