Atlassian Jira < 8.13.22 / 8.14.x < 8.20.10 XSS (JRASERVER-73897)

critical Nessus Plugin ID 163306

Synopsis

The remote Atlassian Jira host is missing a security update.

Description

The version of Atlassian Jira installed on the remote host is prior to < 8.13.22 / 8.14.x < 8.20.10. It is, therefore, affected by a vulnerability as referenced in the JRASERVER-73897 advisory.

- Multiple Servlet Filter vulnerabilities have been fixed in Jira Server and Data Center. These vulnerabilities also affect other Atlassian products. For more information, refer to [Atlassian's security advisory|https://confluence.atlassian.com/security/multiple-products-security-advisory- cve-2022-26136-cve-2022-26137-1141493031.html]. h3. Arbitrary Servlet Filter Bypass (CVE-2022-26136) A remote, unauthenticated attacker can bypass Servlet Filters used by first and third party apps. The impact depends on which filters are used by each app, and how the filters are used. Atlassian has released updates that fix the root cause of this vulnerability, but has not exhaustively enumerated all potential consequences of this vulnerability. Only the following attacks have been confirmed: {*}Authentication bypass{*}. Sending a specially crafted HTTP request can bypass custom Servlet Filters used by third party apps to enforce authentication. A remote, unauthenticated attacker can exploit this to bypass authentication used by third party apps. Please note Atlassian has confirmed this attack is possible, but has not determined a list of all affected apps. {*}Cross-site scripting (XSS){*}. Sending a specially crafted HTTP request can bypass the Servlet Filter used to validate legitimate Atlassian Gadgets, which can result in XSS. An attacker that can trick a user into requesting a malicious URL can execute arbitrary Javascript in the user's browser. h3. Additional Servlet Filter Invocation (CVE-2022-26137) A remote, unauthenticated attacker can cause additional Servlet Filters to be invoked when the application processes requests or responses. Atlassian has confirmed and fixed the only known security issue associated with this vulnerability: {*}Cross-origin resource sharing (CORS) bypass{*}. Sending a specially crafted HTTP request can invoke the Servlet Filter used to respond to CORS requests, resulting in a CORS bypass. An attacker that can trick a user into requesting a malicious URL can access the vulnerable application with the victim's permissions. h3. Affected versions: * Versions < 8.13.22 * All versions 8.14.x through 8.19.x
* 8.20.x < 8.20.10 * All versions 8.21.x * 8.22.x < 8.22.4 h3. Fixed versions: * 8.13.x >= 8.13.22 ([LTS|https://confluence.atlassian.com/enterprise/long-term-support-releases-948227420.html]) * 8.20.x >= 8.20.10 ([LTS|https://confluence.atlassian.com/enterprise/long-term-support-releases-948227420.html]) * 8.22.x >= 8.22.4 (!) 8.22.4 contains a [high impact non-security bug|http://jira.atlassian.com/browse/JRASERVER-73875]. Atlassian recommends updating to latest version (currently 8.22.6). * Versions >= 9.0.0 h3. References [Multiple Products Security Advisory 2022-07-20|https://confluence.atlassian.com/security/multiple-products-security-advisory- cve-2022-26136-cve-2022-26137-1141493031.html] (atlassian-JRASERVER-73897)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Atlassian Jira version 8.13.22, 8.20.10 or later.

See Also

https://jira.atlassian.com/browse/JRASERVER-73897

Plugin Details

Severity: Critical

ID: 163306

File Name: jira_8_20_10_jraserver-73897.nasl

Version: 1.6

Type: combined

Agent: windows, macosx, unix

Published: 7/20/2022

Updated: 8/5/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

CVSS Score Source: CVE-2022-26136

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:atlassian:jira

Required KB Items: installed_sw/Atlassian JIRA

Exploit Ease: No known exploits are available

Patch Publication Date: 6/9/2022

Vulnerability Publication Date: 6/9/2022

Reference Information

CVE: CVE-2022-26136, CVE-2022-26137

IAVA: 2022-A-0293