I found Open Redirect on US Government website
An API redirect endpoint on a US government subdomain accepted an arbitrary external URL in its url parameter and sent the user there, with no validation. An attacker could craft a trusted-looking link that lands the victim on a malicious site, which the author used to run script in the victim's browser.
If you are new here, take a look at my other posts as they may help you in some way.
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 redirect endpoint took the destination from a user-supplied parameter and never checked that it pointed to a trusted domain.
Impact
A victim clicking a link on the trusted government domain could be sent to an attacker-controlled site, which the author used for phishing and to run script on that attacker page; the triager judged the impact minimal and closed it as not applicable.
What the attacker needed
Target reachable without special access; victim clicks a crafted link
How it was found
- Find the target subdomain and start fuzzing its API routes.
- Reach the redirect API route with an account identifier and a destination parameter.
- Try other parameter names such as next and target, which do not redirect.
- Supply an external site in the url parameter and observe the redirect succeed.
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 redirect is when a site sends your browser to another address. Here the site took an address from the link itself and forwarded you to it without checking where it pointed, so a link on the official domain could quietly drop you on an attacker's page. The author then ran script on that page, but that script ran on the attacker's own site, not the government one.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.