Apache ActiveMQ 5.x < 5.15.14 / 5.16.x < 5.16.1 Multiple Vulnerabilities

high Nessus Plugin ID 146087

Synopsis

The remote host is running a web application that is affected by multiple vulnerabilities.

Description

The version of Apache ActiveMQ running on the remote host is 5.x prior to 5.15.14 or 5.16.x prior to 5.16.1. It is, therefore, affected by multiple vulnerabilities including the following:

- An authentication bypass vulnerability. The optional ActiveMQ LDAP login module can be configured to use anonymous access to the LDAP server. In this case, for Apache ActiveMQ prior to versions 5.16.1 and 5.15.14, the anonymous context is used to verify a valid users password in error, resulting in no check on the password. (CVE-2021-26117)

- A cross-site scripting (XSS) vulnerability exists in Apache ActiveMQ due to improper validation of user-supplied input before returning it to users. An unauthenticated, remote attacker can exploit this, by convincing a user to click a specially crafted URL, to execute arbitrary script code in a user's browser session. (CVE-2020-13947)

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 Apache ActiveMQ version 5.15.14, 5.16.1 or later.

See Also

http://www.nessus.org/u?aed5d32a

http://www.nessus.org/u?9ec6690e

Plugin Details

Severity: High

ID: 146087

File Name: activemq_5_16_1.nasl

Version: 1.9

Type: combined

Agent: unix

Family: CGI abuses

Published: 2/3/2021

Updated: 6/6/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2021-26117

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: cpe:/a:apache:activemq

Required KB Items: installed_sw/Apache ActiveMQ

Exploit Ease: No known exploits are available

Patch Publication Date: 1/17/2021

Vulnerability Publication Date: 1/27/2021

Reference Information

CVE: CVE-2020-13947, CVE-2021-26117

IAVB: 2021-B-0009-S