RHEL 8:jenkins 和 jenkins-2-plugins (RHSA-2024:0775)

critical Nessus 插件 ID 194437

简介

远程 Red Hat 主机缺少一个或多个 RHEL jenkins / jenkins-2-plugins 安全更新。

描述

远程 Redhat Enterprise Linux 8 主机上安装的程序包受到 RHSA-2024:0775 公告中提及的多个漏洞影响。

- SnakeYaml:构造函数反序列化远程代码执行 (CVE-2022-1471)

- maven-shared-utils:通过命令行类进行的命令注入 (CVE-2022-29599)

- apache-commons-text:变量插值 RCE (CVE-2022-42889)

- jenkins-2-plugins/script-security:脚本安全插件中存在沙盒绕过漏洞 (CVE-2023-24422)

- jenkins-2-plugins/JUnit:JUnit 插件中存在存储型 XSS 漏洞 (CVE-2023-25761)

- jenkins-2-plugins/pipeline-build-step:Pipeline: Build Step 插件中的存储 XSS 漏洞 (CVE-2023-25762)

- Jenkins:通过不安全的权限创建的临时文件参数 (CVE-2023-27903)

- Jenkins:由与代理相关的错误堆栈跟踪导致的信息泄露 (CVE-2023-27904)

- Jenkins:OpenID 插件中的会话固定漏洞 (CVE-2023-37946)

- jenkins:通过 CLI 的任意文件读取漏洞可导致 RCE (CVE-2024-23897)

- jenkins:跨站 WebSocket 劫持 (CVE-2024-23898)

请注意,Nessus 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

依据 RHSA-2024:0775 中的指南更新 RHEL jenkins / jenkins-2-plugins 程序包。

另见

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

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

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

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

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

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

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

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

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

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

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

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

https://issues.redhat.com/browse/OCPBUGS-471

http://www.nessus.org/u?872ccb0b

https://access.redhat.com/errata/RHSA-2024:0775

插件详情

严重性: Critical

ID: 194437

文件名: redhat-RHSA-2024-0775.nasl

版本: 1.2

类型: local

代理: unix

发布时间: 2024/4/29

最近更新时间: 2024/6/3

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

风险信息

VPR

风险因素: Critical

分数: 9.5

CVSS v2

风险因素: High

基本分数: 7.5

时间分数: 6.5

矢量: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS 分数来源: CVE-2022-29599

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 9.4

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

时间矢量: CVSS:3.0/E:H/RL:O/RC:C

CVSS 分数来源: CVE-2024-23897

漏洞信息

CPE: p-cpe:/a:redhat:enterprise_linux:jenkins-2-plugins, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:jenkins

必需的 KB 项: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可利用: true

易利用性: Exploits are available

补丁发布日期: 2024/2/12

漏洞发布日期: 2022/4/27

可利用的方式

Core Impact

Metasploit (Apache Commons Text RCE)

参考资料信息

CVE: CVE-2022-1471, CVE-2022-29599, CVE-2022-42889, CVE-2023-24422, CVE-2023-25761, CVE-2023-25762, CVE-2023-27903, CVE-2023-27904, CVE-2023-37946, CVE-2024-23897, CVE-2024-23898

CWE: 1188, 20, 200, 266, 384, 502, 77, 79, 88

RHSA: 2024:0775