CSRF Vulnerability in EchoStar Company
A form on the EchoStar site lacked an anti-CSRF token, so a request submitted from another site would be treated as legitimate. An attacker could trick a logged-in victim into adding products to their cart without consent.
Published on medium.com
Cross-site request forgery, also known as one-click attack or session riding and abbreviated as CSRF or XSRF, is a type of malicious exploit of a website or web application where unauthorized commands are submitted from a user that the web application trusts.
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 cart form was processed without verifying a per-session anti-CSRF token, so requests forged from another origin were accepted.
Impact
An attacker could make a logged-in victim add products to their cart without their knowledge; the report does not show any further consequence.
What the attacker needed
Victim is logged in; victim visits attacker-controlled page
The fix
The form should be protected with a unique, unpredictable anti-CSRF token stored in the user's session and checked on every submission.
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.
When you are logged in to a site, your browser automatically sends your session cookie with every request to that site. A cross-site request forgery (CSRF) attack makes your browser send a request the site trusts, even though you never meant to make it. The usual defence is a secret token that the page must include with the form, which another site cannot guess.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.