Skip to content
CSRF Disclosed report Beginner

Csrf in watch-unwatch projects

The watch and unwatch project endpoints accept POST requests without a CSRF token, so an attacker could make a logged-in user watch or unwatch a project by visiting a crafted link. The report only demonstrates that the request works without the token and does not show a full cross-site attack.

ashish_r_padelkar Follow

Originally disclosed on HackerOne

  • Disclosed after 3 months

Hello,

When you visit any projects from https://hosted.weblate.org/ , there is a button provided on top-right called Watch / Unwatch for each projects. when you click on that button, a POST request is sent which contains csrf token. But this request also works without that token.

Just hit the urls in your browser and you will be able to Watch or Unwatch the projects

https://hosted.weblate.org/accounts/watch/androbd/ https://hosted.weblate.org/accounts/unwatch/androbd/

where androbd is a project name!

Regrads Ashish

The original report as published on HackerOne, by ashish_r_padelkar. 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 make a logged-in user watch or unwatch a project without their consent, but the report does not demonstrate a full cross-site request forgery attack.

What the attacker needed

Victim is logged in

How it was found

  1. Visit a project page on the hosted Weblate site.
  2. Click the Watch or Unwatch button to send a POST request that includes a CSRF token.
  3. Repeat the request without the CSRF token and observe that it still succeeds.

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.

Websites often include a hidden security token in forms to prove a request came from their own pages, not from another site. Here, the watch and unwatch actions still worked when that token was missing, so another website could trigger them for a logged-in user. The report does not show the full attack, only that the token check is missing.

What is CSRF?

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

More by ashish_r_padelkar

View all

13 more disclosed reports, best first.

More from Weblate

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.