Skip to content
CSRF Write-up Beginner

Cross-Site Request Forgery + Low Hanging Fruit sum up to $$$$

The application lacked CSRF protection on the email update endpoint, allowing an attacker to change a victim's email address and expose their name and email. The report also mentions five other low-hanging vulnerabilities but does not detail them.

medium.com

Published on medium.com

Free Article Link: Click for free!

Ehtesham Ul Haq, on medium.com

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 email update endpoint did not verify a CSRF token or check the request origin.

What the attacker needed

Victim is logged in; victim visits attacker-controlled page

How it was found

  1. Navigate to the profile management page and find the email update option.
  2. Intercept the email update request using Burp Suite.
  3. Generate a CSRF proof-of-concept from the intercepted request.
  4. Execute the attack by pressing enter in the pre-configured environment.

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.

CSRF is when a malicious site makes a logged-in user's browser send a request to another site without the user's knowledge. Here, the email update form had no protection, so an attacker could trick a victim into changing their email, which could lead to account takeover.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.