Skip to content
Account takeover Write-up Beginner

A Critical Zero-Day in Atlassian Jira Service Management Cloud: P

The password reset endpoint accepted an email parameter in the request body, allowing an attacker to change any user's password by substituting their email address. An attacker with a valid reset token could take over any Jira Service Management Cloud account without user interaction.

Mo Salah Follow

Published on medium.com

I want to start this post with a short dedication: may we keep Palestineand its people in our prayers. May peace and justice be restored soon. always free Palestine🇵🇸🇵🇸

Mo Salah, on 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 password reset endpoint trusted a user-supplied email parameter to identify the account instead of binding the reset token to the authenticated user.

Impact

Any Jira Service Management Cloud account could be taken over without user interaction, affecting all organisations using the platform.

What the attacker needed

A valid password reset token for the attacker's own account; knowledge of the victim's email address

The fix

The company's security team resolved the bug within 20 minutes.

How it was found

  1. Create two accounts on Jira Service Management Cloud.
  2. Request a password reset for account A and click the reset link.
  3. Enter a new password and intercept the request.
  4. Change the email parameter to account B's email.
  5. Account B's password is changed; log in with the new password.

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 reset a password, the website should only change the password for the account that requested the reset. Here, the request included an email address that the server trusted, so an attacker could put someone else's email and set a new password for that person. This means anyone could take over another person's account.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.