Skip to content
CSRF Write-up Intermediate

CSRF PoC mistake that broke crucial functions for the end user/victim

A CSRF vulnerability allowed an attacker to submit a form that set a user's email sending limit to a mandatory restrictive value, breaking functionality. The victim could not easily restore the setting through the website's normal interface.

Vuk Ivanovic Follow

Published on medium.com

You have heard of business logic bugs. The idea of abusing the logic behind the website’s functionality in order to achieve something like a discount or similar that you shouldn’t be able to do, i.e. https://hackerone.com/reports/336131 and similar, none of it is really new.

Vuk Ivanovic, 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 application did not properly validate the CSRF token or enforce other protections, and the form parameters allowed setting a mandatory limit that could not be overridden.

Impact

The victim's account is locked into a restrictive email sending limit until the month ends, and the victim cannot change it through the website's normal interface.

What the attacker needed

Victim is logged in; victim visits attacker-controlled page

How it was found

  1. Verify that the request has no CSRF token or that the token is not validated.
  2. Create an HTML form that submits the desired parameters to the vulnerable endpoint.
  3. Induce the victim to submit the form (e.g., by visiting a malicious page).
  4. The victim's account is updated with the restrictive limit.

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 (Cross-Site Request Forgery) is when a malicious website makes a logged-in user's browser send a request to another site without the user's knowledge. Here, the attacker could force the victim's account to adopt a restrictive email limit, and the victim could not undo it through the normal settings page.

What is CSRF?

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

More by Vuk Ivanovic

View all

13 more disclosed reports, best first.

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.