Skip to content
Northstar Sample Co.Sample
Findings
medium

An address AgathaSec gave the site was fetched

app.example.com · data-changing test sample-export-webhook, canary, late fetch

The export calls an address its caller gives, later rather than at once. Whether it would reach internal addresses was not tested.

How to fix

If the export is meant to call back an address, allow only the hosts it needs and refuse private and internal addresses.

Evidence

Tool
AgathaSec data-changing test, standard check (sample)
Recorded
1 Dec, 11:32 UTC
Request
POST /api/exports, field notify_url, as test account A.
Sent in
The scan of 24 Nov, 10:32 UTC

Review item: fetching an address its caller gives may be what this request is for. Check whether it should, and whether it could reach internal addresses, which wasn’t tested.

A fetch of the address arrived late, about 5 hours after the request was sent, once the scan that sent it had stopped waiting, so this scan reports it. It most likely came from the site’s server (or something it passed the address to).

2 fetches arrived late; the time is the first one’s.