Jira Misconfiguration Leading to Unauthorized Access
A Jira instance exposed an SSO test endpoint that allowed email enumeration without rate limiting, and a discovered employee email granted full administrative access via Google login. An attacker could enumerate valid emails and then log in as an administrator.
medium.com
Published on medium.com
At Metanet,our security research team regularly hunts for vulnerabilities in widely used software platforms to help organizations secure their environments. During a recent assessment, we uncovered a significant misconfiguration in Atlassian Jira, a popular project management tool used by organizations worldwide.
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 SSO test endpoint was left enabled in production and lacked rate limiting, allowing email enumeration that led to account takeover.
Impact
An attacker could enumerate employee emails and then log in as an administrator, gaining full control to assign, edit, and delete projects.
What the attacker needed
Jira instance with SSO test endpoint enabled; No rate limiting on login attempts; Access to the login page
The fix
The report recommends implementing rate limiting on login attempts and ensuring test configurations like ssoTest are not accessible in production.
How it was found
- Observe the login flow offers third-party authentication via Google, Microsoft, Apple, and Slack.
- Capture the login request and notice a body parameter named ssoTest set to false.
- Change ssoTest to true and observe a 400 error indicating a wrong email.
- Use a username wordlist appended with @Company.com to find valid emails by filtering for 200 OK responses.
- Attempt to log in with the discovered emails; the second email succeeds with a message about previous Google login.
- Gain full Jira access as an administrator, able to assign, edit, and delete projects.
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.
The login system had a hidden test feature that revealed whether an email address belonged to a company employee. By guessing many email addresses, the researchers found a real employee's address and then used the normal Google login to sign in as that person, who happened to be an administrator.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.