CVE-2023-39967CWE-918

Full read and controlled SSRF through URL parameter when testing a request inside wiremock-studio

Critical · published September 6, 2023

CVSS v3.1
10.0
EPSS
1%
Percentile
63.9
In the wild
Unconfirmed
What it is

🚨 A simple misconfiguration in WireMock can turn your HTTP service mocker into an all-access pass to arbitrary services! 🔥 Think of WireMock like a restaurant that accidentally allows customers to place orders for items from neighboring restaurants, spreading your budget thin and inviting chaos. Instead of just ordering from the menu, anyone can request anything from outside, potentially costing you dearly. This vulnerability could lead to unauthorized access, where attackers can exploit WireMock to send malicious requests, exposing sensitive data or services without your knowledge. If unpatched, it’s a recipe for disaster!

Put simply

Think of WireMock like a restaurant that accidentally allows customers to place orders for items from neighboring restaurants, spreading your budget thin and inviting chaos. Instead of just ordering from the menu, anyone can request anything from outside, potentially costing you dearly. When specific request URLs like "@127.0.0.1:1234" are used in WireMock Studio, requests can be forwarded to any reachable service, compromising the integrity of your network. The vulnerability affects the TestRequester functionality, webhooks, and proxy mode, allowing attackers control over HTTP methods and headers.

What to do

This vulnerability could lead to unauthorized access, where attackers can exploit WireMock to send malicious requests, exposing sensitive data or services without your knowledge. If unpatched, it’s a recipe for disaster! Since the vendor has discontinued the affected WireMock Studio product and will not issue a fix, it's time to look for alternatives. Investigate other mocking tools that don't have this vulnerability, and make sure to review your network configurations for misdirected requests. You've got this! Transitioning to a safer mocking tool will keep your services secure and your peace of mind intact. 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01047 · 63.9th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2023-09-06T20:40Z
EPSS history
Timeline
  • 06 SEP 20:40Z
    Full read and controlled SSRF through URL parameter when testing a request inside wiremock-studio
    cvelistv5