RHEL 8:mod_auth_openidc: 2.3 (RHSA-2023: 6940)

medium Nessus Plugin ID 185656

概要

遠端 Red Hat 主機缺少一個或多個安全性更新。

說明

遠端 Redhat Enterprise Linux 8 主機上安裝的套件受到 RHSA-2023: 6940 公告中提及的多個弱點影響。

- mod_auth_openidc 是 OpenID 認證的驗證與授權模組,適用於 Apache 2.x HTTP 伺服器。 2.4.12.2 之前版本容易受到開放式重新導向攻擊。向重新導向 URI 提供登出參數時,oidc_validate_redirect_url() 中的現有程式碼未正確檢查以 /\t 開頭的 URL,這會導致開放式重新導向攻擊。此問題已在 2.4.12.2 版中修正。無法升級的使用者可透過以下方式減輕問題:將 mod_auth_openidc 設定為只有在目的地符合 OIDCRedirectURLsAllowed 的指定規則運算式時,才允許重新導向。(CVE-2022-23527)

- mod_auth_openidc 是一個驗證與授權模組,適用於實作了 OpenID Connect Relying Party 功能的 Apache 2.x HTTP 伺服器。在 2.0.0 至 2.4.13.1 版中,設定 `OIDCStripCookies` 並提供特製的 Cookie 時,會發生 NULL 指標解除參照,進而導致區段錯誤。這可被用於拒絕服務攻擊,因此存在可用性風險。 2.4.13.2 版包含針對此問題的修補程式。因應措施為避免使用 `OIDCStripCookies`。(CVE-2023-28625)

請注意,Nessus 並未測試這些問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

更新受影響的 cjose、cjose-devel 和 / 或 mod_auth_openidc 套件。

另請參閱

http://www.nessus.org/u?430d2761

http://www.nessus.org/u?819248f8

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

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

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

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

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

https://access.redhat.com/errata/RHSA-2023:6940

Plugin 詳細資訊

嚴重性: Medium

ID: 185656

檔案名稱: redhat-RHSA-2023-6940.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2023/11/14

已更新: 2024/4/28

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Low

分數: 3.6

CVSS v2

風險因素: Medium

基本分數: 6.4

時間分數: 4.7

媒介: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS 評分資料來源: CVE-2022-23527

CVSS v3

風險因素: Medium

基本分數: 6.1

時間分數: 5.3

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

時間媒介: CVSS:3.0/E:U/RL:O/RC:C

弱點資訊

CPE: cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:cjose, p-cpe:/a:redhat:enterprise_linux:cjose-devel, p-cpe:/a:redhat:enterprise_linux:mod_auth_openidc

必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2023/11/14

弱點發布日期: 2022/12/14

參考資訊

CVE: CVE-2022-23527, CVE-2023-28625

CWE: 476, 601

RHSA: 2023:6940