Debian DSA-5020-1 : apache-log4j2 - security update

critical Nessus Plugin ID 156015

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 / 11 host has a package installed that is affected by multiple vulnerabilities as referenced in the dsa-5020 advisory.

Chen Zhaojun of Alibaba Cloud Security Team discovered a critical security vulnerability in Apache Log4j, a popular Logging Framework for Java. JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From version 2.15.0, this behavior has been disabled by default. This update also fixes CVE-2020-9488 in the oldstable distribution (buster). Improper validation of certificate with host mismatch in Apache Log4j SMTP appender. This could allow an SMTPS connection to be intercepted by a man-in-the-middle attack which could leak any log messages sent through that appender. For the oldstable distribution (buster), this problem has been fixed in version 2.15.0-1~deb10u1. For the stable distribution (bullseye), this problem has been fixed in version 2.15.0-1~deb11u1. We recommend that you upgrade your apache-log4j2 packages. For the detailed security status of apache-log4j2 please refer to its security tracker page at: https://security-tracker.debian.org/tracker/apache-log4j2

Tenable has extracted the preceding description block directly from the Debian security advisory.

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

Solution

Upgrade the apache-log4j2 packages.

For the stable distribution (bullseye), this problem has been fixed in version 2.15.0-1~deb11u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959450

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

https://www.debian.org/security/2021/dsa-5020

https://security-tracker.debian.org/tracker/CVE-2020-9488

https://security-tracker.debian.org/tracker/CVE-2021-44228

https://packages.debian.org/source/buster/apache-log4j2

https://packages.debian.org/source/bullseye/apache-log4j2

Plugin Details

Severity: Critical

ID: 156015

File Name: debian_DSA-5020.nasl

Version: 1.12

Type: local

Agent: unix

Published: 12/12/2021

Updated: 1/24/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 10.0

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 8.1

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A: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: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:liblog4j2-java

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/11/2021

Vulnerability Publication Date: 4/27/2020

CISA Known Exploited Vulnerability Due Dates: 12/24/2021

Exploitable With

CANVAS (CANVAS)

Core Impact

Reference Information

CVE: CVE-2020-9488, CVE-2021-44228

IAVA: 0001-A-0650, 2020-A-0196-S, 2020-A-0324, 2021-A-0035-S, 2021-A-0573