Atlassian Jira issue attachment name information disclosure vulnerability
An unauthenticated user can determine whether a given attachment name exists on any Jira issue by sending a request to the render API endpoint. The response differs depending on whether the attachment name is valid, allowing enumeration of attachment names.
Originally disclosed on Cisco Talos
An issue attachment name information disclosure vulnerability exists in Atlassian Jira, from versions 7.6.4 to 8.1.0. Anonymous users can differentiate between valid attachment names and invalid attachment names for any given issue via /rest/api/1.0/render API endpoint.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the render API endpoint does not check whether the requester has permission to view the issue's attachments before processing the markup and returning different error messages.
Impact
An unauthenticated attacker could determine valid attachment names for any issue, potentially disclosing sensitive information about attachments.
What the attacker needed
No authentication required; Knowledge of a valid issue key
The fix
The vulnerability was fixed by the vendor in version 8.1.0 and later.
How it was found
- Send a POST request to the render API endpoint with a body containing the renderer type, the attachment name wrapped in exclamation marks, and a valid issue key.
- Observe the response: if it contains 'Unable to render embedded object…', the attachment name is invalid; if it contains 'Unable to embed resource…' or a link to the file, the attachment name is valid.
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 report has not been written yet. The Original tab links to the source.
Jira lets you attach files to issues. This report shows that anyone, even without logging in, can ask Jira to render a piece of text that references an attachment by name. By looking at the error message, they can tell if that attachment name exists on the issue, which leaks information about private attachments.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.