RHEL 8 : mod_auth_openidc:2.3 (RHSA-2022:1823)

medium Nessus Plugin ID 161001

Synopsis

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

Description

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

- mod_auth_openidc: open redirect in oidc_validate_redirect_url() (CVE-2021-32786)

- mod_auth_openidc: hardcoded static IV and AAD with a reused key in AES GCM encryption (CVE-2021-32791)

- mod_auth_openidc: XSS when using OIDCPreservePost On (CVE-2021-32792)

- mod_auth_openidc: open redirect due to target_link_uri parameter not validated (CVE-2021-39191)

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 affected cjose, cjose-devel and / or mod_auth_openidc packages.

See Also

https://access.redhat.com/security/cve/CVE-2021-32786

https://access.redhat.com/security/cve/CVE-2021-32791

https://access.redhat.com/security/cve/CVE-2021-32792

https://access.redhat.com/security/cve/CVE-2021-39191

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

https://bugzilla.redhat.com/1986102

https://bugzilla.redhat.com/1986395

https://bugzilla.redhat.com/1986397

https://bugzilla.redhat.com/2001646

Plugin Details

Severity: Medium

ID: 161001

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

Version: 1.7

Type: local

Agent: unix

Published: 5/11/2022

Updated: 10/27/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

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

CVSS Score Source: CVE-2021-39191

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

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

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:rhel_aus:8.6, cpe:/o:redhat:rhel_e4s:8.6, cpe:/o:redhat:rhel_eus:8.6, cpe:/o:redhat:rhel_tus:8.6, p-cpe:/a:redhat:enterprise_linux:cjose, p-cpe:/a:redhat:enterprise_linux:cjose-devel, p-cpe:/a:redhat:enterprise_linux:mod_auth_openidc

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: 5/10/2022

Vulnerability Publication Date: 7/22/2021

Reference Information

CVE: CVE-2021-32786, CVE-2021-32791, CVE-2021-32792, CVE-2021-39191

CWE: 330, 601, 79

RHSA: 2022:1823