CORS misconfig that worths USD200
The target had a CORS misconfiguration that let an attacker read a token belonging to a victim. The attacker could then use that token to access the target's services as the victim.
This bug was founded in a private program. So, this post would not disclose any information about the target.
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
Impact
An attacker could steal a victim's token and use it to access the target's services on the victim's behalf.
What the attacker needed
Victim visits attacker-controlled page; victim has a valid token
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.
CORS is a browser rule that decides which websites may read responses from another site. Here the rule was set too loosely, so a malicious site could read a token that the victim's browser sent to the target. With that token the attacker could act as the victim on the target's service.
What is CORS?
A permissive cross-origin policy lets another site read responses with the user's credentials.