Skip to content
CSRF Disclosed report Beginner

CSRF on https://apps.topcoder.com/wiki/users general and email preferences

The user preference and email preference forms lacked CSRF protection, so an attacker could make a signed-in victim change their settings without consent. The attacker could alter the victim's general and email preferences.

meryem0x Follow

Originally disclosed on HackerOne

Medium 6.3 View original
  • Triaged in 11 hours
  • Fixed in 4 days
  • Disclosed after 5 days

Summary:

Hi :) There is a CSRF on setting general and email preferences.

Steps To Reproduce:

There is no CSRF token or anything like that on https://apps.topcoder.com/wiki/users/editmypreferences.action and https://apps.topcoder.com/wiki/users/editemailpreferences.action . I added the poc html files below. Attacker can change victim's preferences.

Note: This only works to signed-in users. There is a mistake on https://apps.topcoder.com/wiki/login.action now. If you encounter an error, you can login on main site (https://accounts.topcoder.com/member) then try.

Impact

An attacker can force other users to change their preferences without their knowledge.

The original report as published on HackerOne, by meryem0x. 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 could force signed-in users to change their general and email preferences without their knowledge.

What the attacker needed

Victim is signed in; victim visits attacker page

How it was found

  1. Log in to the Topcoder wiki as a signed-in user.
  2. Visit the attacker's proof-of-concept page while still logged in.
  3. The page submits requests to the general and email preference endpoints.
  4. The victim's preferences are changed without their knowledge.

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.

When you are logged in, a website often trusts any request that comes with your browser's session cookie. If a form does not include a secret, unpredictable token, another site can submit that form on your behalf. This is called cross-site request forgery (CSRF). Here, the preference forms had no such token, so a malicious page could change a logged-in user's settings.

What is CSRF?

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

More by meryem0x

View all

13 more disclosed reports, best first.

More from Lab45

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.