Xss Vulnerability of upload svg files in a collection section that triggers xss
An SVG file uploaded as a profile header image could contain a script that executes when the image is viewed, leading to cross-site scripting. An attacker could run arbitrary JavaScript in the context of the victim's session.
- Disclosed after 3 months
Summary by Atlassian
Xss Vulnerability of upload svg files in start.atlassian.com
Summary by MR_ZHEEV
Don't my findings fall into the P4 category? I have reported websites with loopholes like this on several platforms for example: (H1) this is a rather serious problem, and I find that on the account section it has a rather serious impact because it is exploited via SVG files, I have come across and reported more than once the website that I get is like this and usually gets P3 & P4
Report details
-
Submitted
22 Oct 2020 14:05:11 UTC
-
Target Location
Atlassian Identity (https://id.atlassian.com/login) -
Target category
Web App
-
VRT
Cross-Site Scripting (XSS) > Stored > Self
-
Priority
P5
-
Bug URL
https://id.atlassian.com/manage-profile/profile-and-visibility -
Description
hi team. I found an XSS vulnerability of upload svg files in a collection section that triggers xss
-
Go to start.atlassian.com
-
then select manage profile
-
then select update your header image
-
then add the image to the image collection with the XSS svg file
-
Right click and see the XSS image via the svg file is executed
Payload save format svg:
Impact allowing uploads in the svg format creates an xss vulnerability
-
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 SVG files to be uploaded and served them without sanitising or restricting script content, so embedded JavaScript executed when the image was rendered.
What the attacker needed
A free account; victim views the uploaded SVG
How it was found
- Go to start.atlassian.com
- Select manage profile
- Select update your header image
- Add the image to the image collection with the XSS svg file
- Right click and see the XSS image via the svg file is executed
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.
When you upload an image, the website should treat it as a picture, not as code. Here, the site allowed an SVG file (a type of image that can contain scripts) to be uploaded and then displayed without proper checks. That let the uploaded script run in the browser of anyone who viewed the image, which is called cross-site scripting (XSS).
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.