6.6
MEDIUM
CVE-2023-41329
WireMock DNS Rebinding Vulnerability
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.

INFO

Published Date :

Sept. 6, 2023, 9:15 p.m.

Last Modified :

Sept. 12, 2023, 8:45 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

0.7
Affected Products

The following products are affected by CVE-2023-41329 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Wiremock studio
2 Wiremock wiremock
3 Wiremock python_wiremock
4 Wiremock wiremock_docker
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-41329.

URL Resource
https://github.com/wiremock/wiremock/security/advisories/GHSA-pmxq-pj47-j8j4 Vendor Advisory
https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses Product

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-41329 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-41329 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Sep. 12, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/wiremock/wiremock/security/advisories/GHSA-pmxq-pj47-j8j4 No Types Assigned https://github.com/wiremock/wiremock/security/advisories/GHSA-pmxq-pj47-j8j4 Vendor Advisory
    Changed Reference Type https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses No Types Assigned https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses Product
    Added CPE Configuration OR *cpe:2.3:a:wiremock:python_wiremock:*:*:*:*:*:*:*:* versions up to (excluding) 2.6.1 *cpe:2.3:a:wiremock:studio:*:*:*:*:*:*:*:* versions up to (including) 2.32.0-17 *cpe:2.3:a:wiremock:wiremock:*:*:*:*:*:*:*:* versions up to (excluding) 2.35.1 *cpe:2.3:a:wiremock:wiremock:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.0.3 *cpe:2.3:a:wiremock:wiremock_docker:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.35.1-1 *cpe:2.3:a:wiremock:wiremock_docker:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.0.3-1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.01%

score

0.31283

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability