Skip to content
SSRF Write-up Intermediate

A “Well-Protected” Webhook That Read Any HTTPS Response For M

A webhook feature in an identity provider's Events-Management API allowed any authenticated user to make the server send HTTPS requests to arbitrary URLs and then read the full response from delivery logs. This let an attacker borrow the provider's trusted egress IP to reach third-party IP-allowlisted endpoints and read any HTTPS service reachable from that infrastructure.

afi0pchik Follow

Published on meetcyber.net

Most SSRF write-ups end at 169.254.169.254 — hit cloud metadata, dump credentials, done. That path is patched almost everywhere now, so when you find a webhook feature guarded by a real filter, it’s tempting to close the tab and call it dead.

Afi0pchik, on meetcyber.net

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The webhook delivery logs stored and returned the full HTTP response body, turning a restricted outbound request feature into a non-blind SSRF that could read arbitrary HTTPS responses.

Impact

An attacker could make the provider's servers send requests wearing the provider's trusted egress IP to third-party IP-allowlisted endpoints and read the full HTTPS response, though private IPs, HTTP, invalid TLS and redirects were blocked.

What the attacker needed

An authenticated account; ability to create a webhook subscription; a target HTTPS endpoint reachable from egress

The fix

The vendor should make outbound request signing mandatory by default with a per-subscription HMAC secret and redact or restrict access to responseBody in delivery logs; the text says the vendor confirmed they are strengthening the trust model and reviewing the log exposure.

How it was found

  1. Obtain an access token through the standard OAuth2 refresh_token grant.
  2. Create a webhook subscription pointing at an attacker-controlled or echo URL.
  3. Trigger an outbound request using the send-mock-event endpoint, which returns a deliveryAttemptId.
  4. Read the stored response body from the delivery-logs endpoint using that ID.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A webhook is a feature where a service sends a request to a URL you give it when something happens. Here, the service also saved the reply from that URL and showed it back to the user. That meant a user could make the company's servers fetch any web address and then read the answer, which is dangerous because the servers sit inside a trusted network.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.