{"id":"CVE-2023-41327","published":"2023-09-06T20:38:45Z","modified":"2024-09-26T15:51:46Z","title":"Controlled SSRF through URL in the WireMock","vendor":"wiremock","product":"wiremock","tier":"tail","description":{"text":"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. \n\nUntil 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00498,"percentile":0.43596,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/wiremock/wiremock/security/advisories/GHSA-hq8w-9w8w-pmx7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wiremock/wiremock/releases/tag/3.0.0-beta-15","tags":["x_refsource_MISC"]},{"url":"https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":8.72},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"wiremock","affectedVersions":[{"vendor":"wiremock","product":"wiremock","versions":["org.wiremock:wiremock-webhooks-extension: >= 2.0.0, < 2.35.1","org.wiremock:wiremock-webhooks-extension: >= 3.0.0, < 3.0.3","wiremock-studio: All versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-26T15:46:25.886203Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.wiremock:wiremock-webhooks-extension","vulnerableRanges":[">=3.0.0, <3.0.3",">=2.0.0, <2.35.1"],"patched":["3.0.3","2.35.1"],"from":["GHSA-hq8w-9w8w-pmx7"],"provenance":"source"}],"summary":{"text":"WireMock's webhooks extension fails to apply its proxy target address allow- and deny-lists to webhook requests, so the filtering that restricts proxying does not protect this feature. An attacker who can get a webhook to fire can cause WireMock to send POST requests to arbitrary services reachable from the WireMock instance, which requires adjacent network access, no authentication, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:27Z"},"euvd":{"id":"EUVD-2023-2527","exploited":false,"provenance":"source"}}