Lucene search

K
atlassianSecurity-metrics-botJRASERVER-70944
HistoryApr 22, 2020 - 1:53 a.m.

Make use of Secure Introspector in Velocity Templates - CVE-2019-20409

2020-04-2201:53:30
security-metrics-bot
jira.atlassian.com
17

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.005 Low

EPSS

Percentile

75.9%

This issue exists to document that a security improvement in the way that Jira Server and Data Center use velocity templates has been implemented.

The way in which velocity templates were used in Atlassian Jira Server and Data Center prior to version 8.8.0 allowed remote attackers to gain remote code execution if they were able to exploit a server side template injection vulnerability.

Affected versions:

  • version < 8.8.0

Fixed versions:

  • 8.8.0

Workaround for previous versions:
You use this workaround at your own discretion.
{quote}

  1. Download [Jira 8.12|https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-8.12.3.zip] as zip and extract it’s content
  2. [Localize your Jira instance installation directory|https://confluence.atlassian.com/adminjiraserver/jira-application-installation-directory-938847745.html]
  3. Shutdown your Jira instance
  4. Go to the <jira_installation_dir>/atlassian-jira/WEB-INF/lib/ directory
  5. Remove files: velocity-htmlsafe-3.0.0.jar and velocity-1.6.4-atlassian-7.jar
  6. Copy files velocity-htmlsafe-3.1.1.jar and velocity-1.6.4-atlassian-21.jar from downloaded Jira 8.12 to current directory. They are found in the <Jira_8_12_dir>/atlassian-jira/WEB-INF/lib/ directory
  7. Go to the <jira_installation_dir>/atlassian-jira/WEB-INF/classes directory
  8. Replace the velocity.properties and velocity-static.properties files with their counterparts from the downloaded Jira 8.12
  9. Start your Jira instance again
    {quote}

Affected configurations

Vulners
Node
atlassianjira_data_centerRange≀8.3.2
OR
atlassianjira_data_centerRange<8.8.0

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.005 Low

EPSS

Percentile

75.9%

Related for JRASERVER-70944