CVE-2018–5230 | JIRA Cross Site Scripting
The issue collector in Atlassian Jira allowed remote attackers to inject arbitrary HTML or JavaScript via a cross-site scripting vulnerability in the error message of custom fields when an invalid value was specified. An attacker could execute JavaScript in a victim's browser by crafting a URL with a malicious payload.
Published on medium.com
The issue collector in Atlassian Jira before version 7.6.6, from version 7.7.0 before version 7.7.4, from version 7.8.0 before version 7.8.4 and from version 7.9.0 before version 7.9.2 allows remote attackers to inject arbitrary HTML or JavaScript via a cross site scripting (XSS) vulnerability in the error message of…
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 attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to session hijacking or other client-side attacks.
What the attacker needed
Victim clicks a crafted link; target runs vulnerable Jira version
The fix
The vulnerability was fixed in later versions of Jira (7.6.6, 7.7.4, 7.8.4, and 7.9.2) as indicated by the CVE description.
How it was found
- Perform reconnaissance on the target domain, including parameter mining and subdomain enumeration.
- Take screenshots of discovered subdomains and identify one running Jira issue collector version 7.1.1.
- Insert a crafted payload into the URL path of the vulnerable subdomain.
- Navigate to the crafted URL, which results in the XSS payload executing.
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.
Cross-site scripting (XSS) is a flaw where a website lets an attacker sneak their own JavaScript code into a page that other people view. Here, Jira's issue collector put part of the web address into the page without cleaning it, so a crafted link could run code in the browser of anyone who clicked it.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.