Skip to content
CSRF Write-up Beginner

One Root Cause, Many Faces: The 6 Silent CSRF That Got Buried

Several delete endpoints on a test management platform accepted POST requests without a CSRF token or SameSite cookie protection, so a logged-in admin who opened a crafted page could have projects, custom fields, test plans, test runs, test cases and folders deleted without confirmation. The author reports that the program treated all of these as duplicates of one earlier report and rewarded only that one.

hamdiyasin135 Follow

Published on hamdiyasin135.medium.com

In the world of bug bounty hunting, not every vulnerability gets the recognition it deserves. Recently, while exploring a large test management platform as part of a private bug bounty program, I uncovered multiple Cross-Site Request Forgery (CSRF) vulnerabilities — each one allowing unauthorized deletion of critical…

Yassin Hamdi, on hamdiyasin135.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 delete endpoints relied only on the session cookie and had no CSRF token check or SameSite cookie restriction, so any cross-site POST was accepted as the logged-in user's own action.

Impact

An attacker could cause permanent deletion of projects, custom fields, test plans, test runs, test cases and folders, breaking workflows and destroying QA history, though the attack required a logged-in admin to open the link.

What the attacker needed

Victim is a logged-in admin; victim opens attacker's link; attacker knows the target object ID

How it was found

  1. Create a page that automatically submits a POST form to the delete endpoint.
  2. Host the page anywhere and send the link to an admin who is logged in.
  3. The admin opens the link and the browser sends the request with their session.
  4. The custom field is deleted without any confirmation.

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.

When you log in to a site, your browser keeps a cookie that proves who you are, and it sends that cookie with every request to the site. Cross-site request forgery (CSRF) is when another website makes your browser send a request to the site you are logged in to, so the site thinks you asked for it. Here the request was a delete action, so an admin who simply opened a link could lose data.

What is CSRF?

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

More by hamdiyasin135

View all

1 more disclosed report, 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.