Jira Security Advisory 2019-09-18

Jira Server - Template injection in Jira Importers Plugin - CVE-2019-15001

Summary

CVE-2019-15001 - Template injection in Jira Importers Plugin 

Advisory Release Date

 10:00 AM PDT (Pacific Time, -7 hours)

Product

Jira Server & Jira Data Center

Note: This includes Jira Software, Jira Core, and Jira Service Desk.

Jira Cloud customers are not affected.

Versions listed are for Jira Core and Jira Software. Check the compatibility matrix to find the equivalent version for your Jira Service Desk version.

Affected Jira Server & Jira Data Center Versions

  • starting with 7.0.10
  • 7.1.x
  • 7.2.x
  • 7.3.x
  • 7.4.x
  • 7.5.x
  • 7.6.x before 7.6.16 (the fixed version for 7.6.x)
  • 7.7.x
  • 7.8.x
  • 7.9.x
  • 7.10.x
  • 7.11.x
  • 7.12.x
  • 7.13.x before 7.13.8 (the fixed version for 7.13.x)
  • 8.0.x 
  • 8.1.x before 8.1.3 (the fixed version for 8.1.x)
  • 8.2.x before 8.2.5 (the fixed version for 8.2.x)
  • 8.3.x before 8.3.4 (the fixed version for 8.3.x)
  • 8.4.0 
    Click here to expand...
    • 7.0.10, 7.0.11
    • 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.6, 7.1.7, 7.1.8, 7.1.9, 7.1.10
    • 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 7.2.10, 7.2.11, 7.2.12, 7.2.13, 7.2.14, 7.2.15
    • 7.3.0, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.3.9
    • 7.4.0, 7.4.1, 7.4.2, 7.4.3, 7.4.4, 7.4.5, 7.4.6
    • 7.5.0, 7.5.1, 7.5.2, 7.5.3, 7.5.4
    • 7.6.0, 7.6.1, 7.6.2, 7.6.3, 7.6.4, 7.6.5, 7.6.6, 7.6.7, 7.6.8, 7.6.9, 7.6.10, 7.6.11, 7.6.12, 7.6.13, 7.6.14, 7.6.15
    • 7.7.0, 7.7.1, 7.7.2, 7.7.3, 7.7.4
    • 7.8.0, 7.8.1, 7.8.2, 7.8.3, 7.8.4
    • 7.9.0, 7.9.1, 7.9.2
    • 7.10.0, 7.10.1, 7.10.2
    • 7.11.0, 7.11.1, 7.11.2
    • 7.12.0, 7.12.1, 7.12.2, 7.12.3
    • 7.13.0, 7.13.1, 7.13.2, 7.13.3, 7.13.4, 7.13.5, 7.13.6, 7.13.7
    • 8.0.0, 8.0.1, 8.0.2, 8.0.3
    • 8.1.0, 8.1.1, 8.1.2
    • 8.2.0, 8.2.1, 8.2.2, 8.2.3, 8.2.4
    • 8.3.0, 8.3.1, 8.3.2, 8.3.3
    • 8.4.0

Fixed Jira Server & Jira Data Center Versions

  • 7.6.16
  • 7.13.8
  • 8.1.3
  • 8.2.5
  • 8.3.4
  • 8.4.1
CVE ID(s)CVE-2019-15001


Summary of Vulnerability

This advisory discloses a critical severity security vulnerability which was introduced in version 7.0.10 of Jira Server & Jira Data Center. Versions of Jira Server & Jira Data Center affected by this vulnerability:

  • from 7.0.10 before 7.6.16 (fixed in 7.6.16)
  • from 7.7.0 before 7.13.8 (fixed in 7.13.8)
  • from 8.0.0 before 8.1.3 (fixed in 8.1.3)
  • from 8.2.0 before 8.2.5 (fixed in 8.2.5)
  • from 8.3.0 before 8.3.4 (fixed in 8.3.4) 
  • from 8.4.0 before 8.4.1 (fixed in 8.4.1)

Atlassian Cloud instances have already been upgraded to a version of Jira which does not have the issue described on this page.

Customers who have upgraded Jira Server & Jira Data Center to version 7.13.8, 8.1.3, 8.2.5, 8.3.4, 8.4.1 or higher are not affected.

Customers who are on any of the affected versions listed above, upgrade your Jira Server & Jira Data Center installations immediately to fix this vulnerability.


Template injection in Jira Importers Plugin

Severity

Atlassian rates the severity level of this vulnerability as critical, according to the scale published in our Atlassian severity levels. The scale allows us to rank the severity as critical, high, moderate or low.

This is our assessment and you should evaluate its applicability to your own IT environment.


Description

There was a server-side template injection vulnerability in Jira Server and Data Center, in the Jira Importers Plugin (JIM). An attacker with "JIRA Administrators" access can exploit this issue. Successful exploitation of this issue allows an attacker to remotely execute code on systems that run a vulnerable version of Jira Server or Data Center. 


Versions of Jira Server & Jira Data Center starting with 7.0.10 before 7.6.16, from 7.7.0 before 7.13.8 (the fixed version for 7.13.x), from 8.1.0 before 8.1.3 (the fixed version for 8.1.x), from 8.2.0 before 8.2.5 (the fixed version for 8.2.x), and from 8.3.0 before 8.3.4 (the fixed version for 8.3.x) , and from 8.4.0 before 8.4.1 (the fixed version for 8.4.x)  are affected by this vulnerability. 

This issue can be tracked here:  JRASERVER-69933 - Getting issue details... STATUS

Acknowledgements

We would like to acknowledge Daniil Dmitriev for finding this vulnerability.

Fix

We have released the following versions of Jira Server & Jira Data Center to address this issue:

  1. 8.4.1 which is available for download from https://www.atlassian.com/software/jira/core/download
  2. 8.3.4 which is available for download from https://www.atlassian.com/software/jira/core/update
  3. 8.2.5 which is available for download from https://www.atlassian.com/software/jira/core/update
  4. 8.1.3 which is available for download from https://www.atlassian.com/software/jira/core/update
  5. 7.13.8 which is available for download from https://www.atlassian.com/software/jira/core/update
  6. 7.6.16 which is available for download from https://www.atlassian.com/software/jira/core/update


We have released the following versions of Jira Software Server to address this issue:

  1. 8.4.1 which is available for download from https://www.atlassian.com/software/jira/download
  2. 8.3.4 which is available for download from https://www.atlassian.com/software/jira/update
  3. 8.2.5 which is available for download from https://www.atlassian.com/software/jira/update
  4. 8.1.3 which is available for download from https://www.atlassian.com/software/jira/update
  5. 7.13.8 which is available for download from https://www.atlassian.com/software/jira/update
  6. 7.6.16 which is available for download from https://www.atlassian.com/software/jira/update

What You Need to Do

Mitigation

If you are unable to upgrade Jira immediately or are in the process of migrating to Jira Cloud, then as a temporary workaround, you can block PUT request to the following endpoint:

  • /rest/jira-importers-plugin/1.0/demo/create

Please see the following KB article with examples on how to perform this, selecting one of the workarounds.

After upgrading JIRA to a fixed version, you can unblock the endpoint. 

Do not disable the  Jira Importers Plugin.


Upgrading Jira

Atlassian recommends that you upgrade to the latest version. For a full description of the latest version of Jira Server & Jira Data Center, see the release notes. You can download the latest version of Jira Server & Jira Data Center from the download center.

Upgrade Jira Server & Jira Data Center to version of 8.4.1 or higher.

If you can't upgrade to the latest version (8.4.1):

(1) If you have a current feature version (a feature version released on 10 December 2018 or later), upgrade to the next bugfix version of your current feature version.

If you have feature version…

…then upgrade to this bugfix version:

8.0.x8.1.3
8.1.x8.1.3
8.2.x8.2.5
8.3.x8.3.4
8.4.x8.4.1


(2) If you have a current Enterprise release version (an Enterprise release version released on 10th July 2017 or later), upgrade to the latest Enterprise release version (7.13.8).


If you have Enterprise release version…

…then upgrade to this version:

7.6.x

7.6.16, 7.13.8 (recommended)

7.13.x

7.13.8


(3) If you have an older version (a feature version released before 10 December 2018, or an Enterprise release version released before 10th July 2017), either upgrade to the latest version, or to the latest Enterprise release version (7.13.8).


If you have an older version…

…then upgrade to any of these versions:

7.0.x

7.1.x

7.2.x

7.3.x

7.4.x

7.5.x

7.7.x

7.8.x

7.9.x

7.10.x

7.11.x

7.12.x

Current versions

8.1.3

8.2.5

8.3.4

8.4.1

Enterprise releases

7.6.16

7.13.8

Support

If you did not receive an email for this advisory and you wish to receive such emails in the future go to https://my.atlassian.com/email and subscribe to Alerts emails.

If you have questions or concerns regarding this advisory, please raise a support request at https://support.atlassian.com/.

References

Security Bug fix Policy

As per our new policy critical security bug fixes will be back ported in accordance with https://www.atlassian.com/trust/security/bug-fix-policy.  We will release new maintenance releases for the versions covered by the policy instead of binary patches.

Binary patches are no longer released. 

Severity Levels for security issuesAtlassian security advisories include a severity level and a CVE identifier. This severity level is based on our self-calculated CVSS score for each specific vulnerability. CVSS is an industry standard vulnerability metric. You can also learn more about CVSS at FIRST.org.
End of Life Policy Our end of life policy varies for different products. Please refer to our EOL Policy for details. 
Last modified on Mar 3, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.