CVE-2023-41327
Controlled SSRF through URL in the WireMock
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
WireMock is a tool for mocking HTTP services. WireMock can be configured to only permit proxying (and therefore recording) to certain addresses. This is achieved via a list of allowed address rules and a list of denied address rules, where the allowed list is evaluated first. Until WireMock Webhooks Extension 3.0.0-beta-15, the filtering of target addresses from the proxy mode DID NOT work for Webhooks, so the users were potentially vulnerable regardless of the `limitProxyTargets` settings. Via the WireMock webhooks configuration, POST requests from a webhook might be forwarded to an arbitrary service reachable from WireMock’s instance. For example, If someone is running the WireMock docker Container inside a private cluster, they can trigger internal POST requests against unsecured APIs or even against secure ones by passing a token, discovered using another exploit, via authentication headers. This issue has been addressed in versions 2.35.1 and 3.0.3 of wiremock. Wiremock studio has been discontinued and will not see a fix. Users unable to upgrade should use external firewall rules to define the list of permitted destinations.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium4.6 | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| NVDNVD · Modified | 3.1 | Medium5.4 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.50% · top 57% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.6.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.wiremock:wiremock-webhooks-extensionGHSA-hq8w-9w8w-pmx7 (opens in a new tab)
References (3)
- https://github.com/wiremock/wiremock/security/advisories/GHSA-hq8w-9w8w-pmx7 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/wiremock/wiremock/releases/tag/3.0.0-beta-15 (opens in a new tab)x_refsource_MISCx_transferred
- https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hq8w-9w8w-pmx7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-41327)Record last updated .