Abusing functionality to exploit a super SSRF in Jira Server (CVE-2022-26135)
A batch API in Jira's Mobile Plugin constructed request URLs by concatenating a base URL with a user-supplied path, allowing an authenticated attacker to send requests to arbitrary hosts with any method, headers, and body. By registering on Jira Service Desk, an attacker could exploit this SSRF without prior credentials.
Published on blog.assetnote.io
Jira is vulnerable to SSRF which requires authentication to exploit. There are multiple ways to create user accounts on Jira in order to exploit this issue depending on the configuration of the Jira instance.
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
Impact
An authenticated attacker could make requests to arbitrary URLs with any HTTP method, headers, and body, potentially reaching internal services; the exploit could be chained with Jira Service Desk signups to bypass authentication if signups are enabled.
What the attacker needed
Jira Service Desk signups enabled; Ability to register an account; Network access to the Jira instance
How it was found
- Register an account on Jira Service Desk if signups are enabled.
- Authenticate to the Jira instance.
- Send a POST request to the batch API endpoint with a JSON body containing a request with a location value starting with '@' followed by the target host.
- The server constructs a URL by concatenating the base URL with the location, resulting in a request to the target host.
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.
Jira has a feature that lets you send several web requests at once. The server built the destination address by simply gluing your input onto its own address, so you could trick it into contacting any server you wanted. This is called server-side request forgery (SSRF): the server makes requests on your behalf, potentially reaching internal systems.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.