Skip to content
SSRF Write-up Beginner

Downnotifeer SSRF

The website-monitoring service accepted a user-supplied address for the site it should check and fetched it from the server without properly restricting internal destinations. By using an alternative loopback address and common ports, the author could make the server connect to services on its own host and infer which ones were running.

m-q-t.github.io

Published on m-q-t.github.io

DownNotifier has an open bug bounty progam hosted on https://openbugbounty.org.

The author, on m-q-t.github.io

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

Likely the URL supplied for monitoring was fetched server-side without blocking loopback and internal addresses, and the filter only checked for a few obvious forms such as localhost and 127.0.0.1.

Impact

An attacker could make the server send requests to its own internal services and use the results to learn which ones were running, though the text only shows port enumeration and not access to data.

What the attacker needed

Access to the monitoring form; no account mentioned

The fix

The bug was fixed after the report, with a patch issued within a day.

How it was found

  1. Open the site and submit a URL for the monitoring service to check.
  2. Try loopback names and addresses such as localhost and [redacted], which are rejected.
  3. Try a file URL, which also fails.
  4. Try the alternative address [redacted], which is accepted.
  5. Add common ports to the address and wait for the check to run.
  6. Read the results to see which local services responded.

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.

This service checks whether your website is up by fetching it from its own servers. The problem is that it would also fetch addresses that point back at the server itself, so the author could ask it to knock on internal doors and see which ones answered. That lets an outsider learn what is running inside a machine they should not be able to reach.

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.