Skip to content
CSRF Disclosed report Beginner

Missing CSRF Protection in /stats EndPoint.

The /affiliates/stats endpoint did not verify CSRF tokens, so a request could be forged from another site. An attacker could change the stats parameters or force a user to download a malicious file.

kaustubh Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 11 days

##EndPoint /affiliates/stats. doesnot verify the CSRF Tokens##

Steps To Reproduce:

  1. Login with the your account
  2. Navigate to the URL https://chaturbate.com/affiliates/stats..
  3. Check the stats in default its todays date or this week in select period.
  4. Intercept the request and change the parameter to whatever you want to set.
  5. generate the POC And open it in browser
  6. You can see the changes in the form.

Supporting Material/References:

Please find attached for the CSRF POC and CSRF_1 for PreCSRF And CSRF_2 For Post CSRF.

Impact

Attacker may change the parameters in stat or may force user to download the malicious .

Attachments

csrf_1.png
csrf_1.png From the original on HackerOne
csrf_2.png
csrf_2.png

The original report as published on HackerOne, by kaustubh. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker may change the stats parameters or force the user to download a malicious file.

What the attacker needed

Victim is logged in; victim visits attacker page

How it was found

  1. Log in with your account.
  2. Navigate to the affiliates stats URL.
  3. Note the default date or week period shown.
  4. Intercept the request and change the parameter.
  5. Generate the proof-of-concept and open it in a browser.
  6. Observe the changes in the form.

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 report 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 meaning to. Here the stats page accepted such requests without checking a secret token, so an attacker could alter the user's stats settings or trigger a download.

What is CSRF?

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

More from Chaturbate

View all

The newest disclosed reports for this program.

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.