CSRF Protection Bypass via Method Confusion Leading to Full Accou
The TV login sync endpoint accepted GET requests and relied on SameSite=Lax cookies for CSRF protection, which are sent on top-level GET navigations. An attacker could craft a link containing their own TV code and GUID, and when a victim clicked it, the victim's session would be synced to the attacker's TV, granting full account takeover.
The TV login sync feature on tvs.redacted.com allows an attacker to fully take over any redacted user account. By converting a POST request to a GET request and embedding the attacker’s own TV code in a crafted link, the attacker can silently authenticate as the victim on the main redacted domain simply by tricking…
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 server accepted GET requests for a state-changing authentication endpoint and relied solely on SameSite=Lax cookies for CSRF protection, which do not protect against top-level GET navigations.
Impact
A successful attack grants the attacker complete access to the victim's account, including personal information and all dashboard functionality.
What the attacker needed
Victim clicks a link; attacker has a TV code and GUID
The fix
The endpoint should enforce strict HTTP method validation (reject non-POST requests), implement an explicit CSRF token tied to the user's session, consider SameSite=Strict cookies or narrower cookie scoping, and validate that the TV code has not already been claimed and belongs to the requesting…
How it was found
- Attacker opens the TV login sync page and notes the TV code and session GUID.
- Attacker constructs a GET URL to the sync endpoint using their own TV code and GUID.
- Attacker sends the crafted link to the victim.
- Victim clicks the link, causing a top-level GET navigation that includes the victim's SameSite=Lax cookies.
- The server processes the request and syncs the victim's session to the attacker's TV code.
- Attacker is now logged into the victim's account on the TV subdomain using the shared session cookies.
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 log into a website, your browser stores a cookie to remember you. The site tried to stop other websites from misusing that cookie by using a setting called SameSite=Lax, which normally blocks the cookie from being sent when another site makes a request. But this protection does not apply when you click a normal link that navigates your browser to the site. The site also allowed a security-sensitive action to happen via a simple link click (GET request) instead of requiring a form submission (POST). An attacker could therefore create a link that, when clicked, told the site to connect…
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.