{"id":"CVE-2023-41327","aliases":["CVE-2023-41327","GHSA-hq8w-9w8w-pmx7","BIT-WIREMOCK-2023-41327"],"related":[],"kind":"vulnerability","state":"published","title":"Controlled SSRF through URL in the WireMock","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWireMock 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. [Documentation](https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses). \n\nUntil WireMock Webhooks Extension [3.0.0-beta-15](https://github.com/wiremock/wiremock/releases/tag/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. \n\nVia 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.\n\n### Affected  components\n\n- WireMock Webhooks Extension 2.x versions until 2.35.1 (security patch)\n- WireMock 3.x version until 3.0.3 (security patch)\n- All versions of WireMock Studio (discontinued). This distribution bundles the WireMock Webhooks Extension and activates it by default\n\n### Patches and Mitigation\n\n- For WireMock 2.x and 3.x - upgrade to the versions with the security patches\n- Setup network restrictions similarly to https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses \n- For WireMock Studio: Stop using discontinued WireMock Studio, migrate to other distributions. The vendor of WireMock Studio recommends migration to [WireMock Cloud](https://www.wiremock.io/product)\n\nNOTE: It was confirmed that [WireMock Cloud](https://www.wiremock.io/product) does not expose sensitive internal APIs and hence not vulnerable to the issue. No action is needed if you use this SaaS distribution.\n\n### Workarounds\n\n- Use external firewall rules to define the list of permitted destinations\n\n### References\n\n- CVE-2023-39967\n- [Preventing proxying to and recording from specific target addresses](https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses)\n\n### Credits\n\n- @W0rty for reporting CVE-2023-39967 in WireMock Studio\n- WireMock Inc. team for discovering similar exploits in Webhooks and the risk in the Proxy mode defaults for WireMock","format":"markdown","source":"ghsa"},{"lang":"es","text":"WireMock es una herramienta para imitar servicios HTTP. WireMock se puede configurar para permitir solo el proxy (y por lo tanto la grabación) en ciertas direcciones. Esto se logra mediante una lista de reglas de direcciones permitidas y una lista de reglas de direcciones denegadas, donde la lista permitida se evalúa primero. Hasta WireMock Webhooks Extension 3.0.0-beta-15, el filtrado de direcciones de destino desde el modo proxy NO funcionaba para Webhooks, por lo que los usuarios eran potencialmente vulnerables independientemente de la configuración de `limitProxyTargets`. A través de la configuración de los webhooks de WireMock, las solicitudes POST de un webhook pueden reenviarse a un servicio arbitrario accesible desde la instancia de WireMock. Por ejemplo, si alguien ejecuta el contenedor acoplable WireMock dentro de un clúster privado, puede activar solicitudes POST internas contra APIs no seguras o incluso contra APIs seguras pasando un token, descubierto mediante otro exploit, a través de encabezados de autenticación. Este problema se solucionó en las versiones 2.35.1 y 3.0.3 de wiremock. Wiremock Studio ha sido descontinuado y no se implementará un parche. Los usuarios que no puedan actualizar deben usar reglas de firewall externas para definir la lista de destinos permitidos.","source":"nvd"},{"lang":"en","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, 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.","format":"markdown","source":"bitnami"}],"published":"2023-09-06T20:38:45.161Z","modified":"2026-09-08T08:48:21.692Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":4.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":" org.wiremock:wiremock-webhooks-extension: >= 2.0.0, < 2.35.1","status":"affected"},{"version":" org.wiremock:wiremock-webhooks-extension: >= 3.0.0, < 3.0.3","status":"affected"},{"version":" wiremock-studio: All versions","status":"affected"}],"vendor":"wiremock","product":"wiremock","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.3"}],"ecosystem":"Maven","package":"org.wiremock:wiremock-webhooks-extension","purl":"pkg:maven/org.wiremock/wiremock-webhooks-extension","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.35.1"}],"ecosystem":"Maven","package":"org.wiremock:wiremock-webhooks-extension","purl":"pkg:maven/org.wiremock/wiremock-webhooks-extension","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.32.0-17"}],"vendor":"wiremock","product":"studio","cpe":"cpe:2.3:a:wiremock:studio:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.35.1"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.3"}],"vendor":"wiremock","product":"wiremock","cpe":"cpe:2.3:a:wiremock:wiremock:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.35.1"},{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.3"}],"ecosystem":"Bitnami","package":"wiremock","purl":"pkg:bitnami/wiremock","source":"bitnami"}],"references":[{"url":"https://github.com/wiremock/wiremock/security/advisories/GHSA-hq8w-9w8w-pmx7","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/wiremock/wiremock/releases/tag/3.0.0-beta-15","tags":["article","release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41327","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/wiremock/wiremock","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/wiremock/wiremock/releases/tag/2.35.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/wiremock/wiremock/releases/tag/3.0.3","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-26T15:46:25.886Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-41327","url":"https://www.cve.org/CVERecord?id=CVE-2023-41327","licence":"CVE Terms of Use","modified":"2024-09-26T15:51:46.334Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hq8w-9w8w-pmx7","url":"https://github.com/advisories/GHSA-hq8w-9w8w-pmx7","licence":"CC-BY-4.0","modified":"2026-04-13T17:24:55.139Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-41327","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41327","licence":"Public domain","modified":"2026-06-17T06:21:47.963Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-WIREMOCK-2023-41327","url":"https://osv.dev/vulnerability/BIT-WIREMOCK-2023-41327","licence":"Apache-2.0","modified":"2026-09-08T08:48:21.692Z"}],"updatedAt":"2026-11-25T22:58:27.741Z","epss":{"score":0.00498,"percentile":0.44265,"date":"2026-12-01T12:00:22.000Z"}}