Ubiquiti UniFi Network Log4Shell Direct Check (CVE-2021-44228)

critical Nessus Plugin ID 156441

Synopsis

A network management web application installed on the remote host is affected by a remote code execution vulnerability.

Description

A remote code execution vulnerability exists in Ubiquiti UniFi Network in the bundled Apache Log4j logging library.
Apache Log4j is vulnerable due to insufficient protections on message lookup substitutions when dealing with user controlled input. A remote, unauthenticated attacker can exploit this, via a web request, to execute arbitrary code with the permission level of the running Java process.

Solution

Update the Ubiquiti UniFi Network application to Version 6.5.54 or later.

See Also

https://www.sprocketsecurity.com/blog/another-log4j-on-the-fire-unifi

http://www.nessus.org/u?37d1da9a

Plugin Details

Severity: Critical

ID: 156441

File Name: ubiquiti_unifi_network_log4shell.nbin

Version: 1.20

Type: remote

Family: Misc.

Published: 12/31/2021

Updated: 8/31/2022

Risk Information

VPR

Risk Factor: Critical

Score: 10

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 8.1

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

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

CVSS Score Source: CVE-2021-44228

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 9.5

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

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

Vulnerability Information

CPE: cpe:/a:ui:unifi_controller

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/13/2021

Vulnerability Publication Date: 12/9/2021

CISA Known Exploited Dates: 12/24/2021

Exploitable With

CANVAS (CANVAS)

Reference Information

CVE: CVE-2021-44228

IAVA: 2021-A-0573, 0001-A-0650