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 is a tool to help the programmer output log statements to a variety of output targets.

Security Fix(es):

* 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)

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

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux 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

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

See Also

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

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.12

Type: local

Agent: unix

Published: 2/8/2022

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

Vendor

Vendor Severity: Important

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:rhel_tus:7.6, p-cpe:/a:redhat:enterprise_linux:log4j-manual, cpe:/o:redhat:rhel_e4s:7.7, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:rhel_aus:7.7, cpe:/o:redhat:enterprise_linux:6, cpe:/o:redhat:rhel_aus:7.6, p-cpe:/a:redhat:enterprise_linux:log4j, cpe:/o:redhat:rhel_els:6, cpe:/o:redhat:rhel_aus:7.4, cpe:/o:redhat:rhel_e4s:7.6, cpe:/o:redhat:rhel_aus:7.3, p-cpe:/a:redhat:enterprise_linux:log4j-javadoc, cpe:/o:redhat:rhel_tus:7.7

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