Skip to content
CSRF Disclosed report Beginner

CSRF on https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action

The bookmark creation form lacked a CSRF token, so an attacker could make a logged-in user create a bookmark without their knowledge by getting them to open a crafted HTML page.

meryem0x Follow

Originally disclosed on HackerOne

Medium 4.3 View original
  • Triaged in 14 hours
  • Fixed in 6 days
  • Disclosed after 7 days

Summary:

Hi :) There is a CSRF on creating bookmarks form.

Steps To Reproduce:

There is no CSRF token or anything like that on https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action. I added the poc html file below. When someone opens this html file, or we can add it into our website, he/she creates a bookmark unwillingly.

Impact

An attacker can force other users to create a bookmark 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

Root cause

The bookmark creation endpoint accepted state-changing requests without a CSRF token.

Impact

An attacker could force other logged-in users to create bookmarks without their knowledge.

What the attacker needed

Victim is logged in; victim opens attacker page

How it was found

  1. Create an HTML page that submits the bookmark creation form to the vulnerable endpoint.
  2. Get a logged-in victim to open that page or host it on a website.
  3. The victim's browser submits the request and a bookmark is created without their consent.

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 to a website, your browser sends your session cookie with every request to that site. If a form does not include a secret, unpredictable value (a CSRF token) that proves the request came from the site itself, another website can quietly submit that form on your behalf. Here, an attacker could make your browser create a bookmark you never intended.

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.