Atlassian Jira Align, Version 10.107.4 Advisory
The Jira Align application had a server-side request forgery (SSRF) in its Jira connector settings that let an authenticated user make the server fetch the AWS metadata endpoint and return the service account's credentials. It also had insufficient authorization controls that let any user with the 'People' permission change their own role to Super Admin via the API.
Published on bishopfox.com
The following document describes identified vulnerabilities in the Jira Align application Version 10.107.4.
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 SSRF arose because the connector URL was not validated and the server appended a fixed path that could be bypassed with a fragment identifier, while the authorization flaw arose because the API endpoint did not verify that the caller had permission to assign the Super Admin role.
Impact
The SSRF could disclose AWS credentials of the service account that provisioned the Jira Align instance, potentially allowing access to Atlassian cloud infrastructure, while the authorization flaw could let a user with the People permission elevate to Super Admin and control all data and settings in the tenant.
What the attacker needed
Authenticated user with Connectors access; authenticated user with People permission
The fix
The vulnerabilities were fixed in version 10.109.3 (and a hotfix [redacted] for the SSRF).
How it was found
- Authenticate to Jira Align with a user that has access to the Connectors settings.
- Send a request to the ManageJiraConnectors endpoint with the txtAPIURL parameter set to the AWS metadata endpoint and a # appended to the URL.
- Activate the connector so that Jira Align fetches the URL and returns the response body in the Jira Change Log.
- For the authorization flaw, authenticate with a user that has the People permission.
- Send a POST request to the MasterUserEdit API with the cmbRoleID parameter set to 9 (Super Admin) for the attacker's own user ID.
- Log out and log back in to obtain the Super Admin role.
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.
Server-side request forgery (SSRF) is when a web application can be tricked into making requests to other servers on the attacker's behalf. Here, the Jira Align server could be told to fetch a special internal address that returns cloud credentials, which the attacker could then read. Separately, a permission check was missing, so a user with a limited role could change their own role to the highest level (Super Admin) by sending a crafted request to the API.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.