Unrestricted file upload {Stored Xss for Token hijacking}
Jira Service Desk Server and Data Center before version 4.10.0 allowed a project administrator to upload an HTML file that could contain arbitrary JavaScript, leading to stored cross-site scripting. An attacker with project administrator privileges could inject script that might hijack tokens.
Originally disclosed on Bugcrowd
- Accepted in 25 days
- Fixed in 4 months
- Disclosed after 11 months
Summary by Atlassian
Unrestricted file upload {Stored Xss for Token hijacking} in Jira Service Desk Server
Summary by Captain_hook
The /servicedesk/customer/portals resource in Jira Service Desk Server and Data Center before version 4.10.0 allows remote attackers with project administrator privileges to inject arbitrary HTML or JavaScript names via an Cross Site Scripting (XSS) vulnerability by uploading a html file.
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 application allowed HTML file uploads without sanitising or restricting their content, so script inside the uploaded file executed in the context of the site.
Impact
An attacker with project administrator privileges could run script in other users' browsers, potentially leading to token hijacking.
What the attacker needed
Project administrator privileges
The fix
The issue was fixed in Jira Service Desk Server and Data Center version 4.10.0.
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.
A project administrator could upload a file that the system treated as a web page, and that page could run harmful code in another user's browser. This is called stored cross-site scripting because the harmful code is saved on the server and later shown to other users. The attacker needs to be a project administrator to do this.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.