RHEL 6 / 7 : log4j (RHSA-2022:0442)

critical Nessus Plugin ID 157417

Synopsis

The remote Red Hat host is missing one or more security updates for log4j.

Description

The remote Redhat Enterprise Linux 6 / 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2022:0442 advisory.

- log4j: Remote code execution in Log4j 1.x when application is configured to use JMSSink (CVE-2022-23302)

- log4j: SQL injection in Log4j 1.x when application is configured to use JDBCAppender (CVE-2022-23305)

- log4j: Unsafe deserialization flaw in Chainsaw log viewer (CVE-2022-23307)

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

Solution

Update the RHEL log4j package based on the guidance in RHSA-2022:0442.

See Also

http://www.nessus.org/u?915c8b81

https://access.redhat.com/security/updates/classification/#important

https://access.redhat.com/errata/RHSA-2022:0442

https://bugzilla.redhat.com/show_bug.cgi?id=2041949

https://bugzilla.redhat.com/show_bug.cgi?id=2041959

https://bugzilla.redhat.com/show_bug.cgi?id=2041967

Plugin Details

Severity: Critical

ID: 157417

File Name: redhat-RHSA-2022-0442.nasl

Version: 1.10

Type: local

Agent: unix

Published: 2/8/2022

Updated: 4/28/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2022-23307

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS Score Source: CVE-2022-23305

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:6, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:rhel_aus:7.3, cpe:/o:redhat:rhel_aus:7.4, cpe:/o:redhat:rhel_aus:7.6, cpe:/o:redhat:rhel_aus:7.7, cpe:/o:redhat:rhel_e4s:7.6, cpe:/o:redhat:rhel_e4s:7.7, cpe:/o:redhat:rhel_els:6, cpe:/o:redhat:rhel_tus:7.6, cpe:/o:redhat:rhel_tus:7.7, p-cpe:/a:redhat:enterprise_linux:log4j, p-cpe:/a:redhat:enterprise_linux:log4j-javadoc, p-cpe:/a:redhat:enterprise_linux:log4j-manual

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/7/2022

Vulnerability Publication Date: 1/18/2022

Reference Information

CVE: CVE-2022-23302, CVE-2022-23305, CVE-2022-23307

CWE: 502, 89

RHSA: 2022:0442