Amazon Linux 2:postgresql (ALAS-2024-2462)

high Nessus 插件 ID 190696

简介

远程 Amazon Linux 2 主机缺少安全更新。

描述

远程主机上安装的 postgresql 版本低于 9.2.24-8。因此,该软件受到 ALAS2-2024-2462 公告中提及的多个漏洞影响。

拥有数据库级别 CREATE 特权的攻击者能够以 bootstrap 超级用户的身份执行任意代码。数据库所有者默认拥有该权限,并且显式授予可将其扩展至其他用户。
(CVE-2023-2454)

CVE-2016-2193 修复了行安全性和用户 ID 变更之间的大部分交互,但遗漏了涉及函数内联的情况。这可能会在使用角色特定策略的情况下应用不正确的策略,并且在一个角色下计划给定查询,然后在其他角色下执行该查询。这种情况可能会发生在 security definer 函数下,或在最初规划的通用用户和查询之后在多个 SET ROLE 中重复使用时。应用不正确的策略可能会允许用户完成本应禁止的读取和修改。这仅影响已使用 CREATE POLICY 定义行安全策略的数据库。(CVE-2023-2455)

Tenable 已直接从测试产品的安全公告中提取上述描述块。

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

解决方案

运行 'yum update postgresql' 以更新系统。

另见

https://alas.aws.amazon.com/AL2/ALAS-2024-2462.html

https://alas.aws.amazon.com/faqs.html

https://alas.aws.amazon.com/cve/html/CVE-2023-2454.html

https://alas.aws.amazon.com/cve/html/CVE-2023-2455.html

插件详情

严重性: High

ID: 190696

文件名: al2_ALAS-2024-2462.nasl

版本: 1.2

类型: local

代理: unix

发布时间: 2024/2/19

最近更新时间: 2025/3/1

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: High

基本分数: 8.3

时间分数: 6.1

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

CVSS 分数来源: CVE-2023-2454

CVSS v3

风险因素: High

基本分数: 7.2

时间分数: 6.3

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

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

漏洞信息

CPE: p-cpe:/a:amazon:linux:postgresql-docs, p-cpe:/a:amazon:linux:postgresql-test, p-cpe:/a:amazon:linux:postgresql-pltcl, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:postgresql-server, p-cpe:/a:amazon:linux:postgresql-contrib, p-cpe:/a:amazon:linux:postgresql-devel, p-cpe:/a:amazon:linux:postgresql-libs, p-cpe:/a:amazon:linux:postgresql-debuginfo, p-cpe:/a:amazon:linux:postgresql-static, p-cpe:/a:amazon:linux:postgresql-plperl, p-cpe:/a:amazon:linux:postgresql-plpython, p-cpe:/a:amazon:linux:postgresql-upgrade, p-cpe:/a:amazon:linux:postgresql

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

易利用性: No known exploits are available

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

漏洞发布日期: 2023/5/11

参考资料信息

CVE: CVE-2023-2454, CVE-2023-2455

IAVB: 2023-B-0034-S