Amazon Linux 2:php (ALASPHP8.1-2023-001)

critical Nessus 插件 ID 181385

简介

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

描述

远程主机上安装的 PHP 版本低于 8.1.12-1,因此,它会受到 ALAS2PHP8.1-2023-001 公告中提及的多个漏洞影响。

- 在 PHP 7.4.33 之前版本、8.0.25 和 8.2.12 版中,如果在 gd 扩展中使用 imageloadfont() 函数,则可以提供特别构建的字体文件,例如如果加载的字体与 imagechar() 函数一起使用,则可以使用在分配的缓冲区之外读取。这可导致崩溃或机密信息泄露。(CVE-2022-31630)

- fdc6fef 之前的 Keccak XKCP SHA-3 参考实现存在整数溢出和缓冲区溢出,允许攻击者执行任意代码或消除预期的加密属性。
这会发生在 sponge 函数接口中。(CVE-2022-37454)

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

解决方案

请运行 'yum update php' 更新系统。

另见

https://alas.aws.amazon.com/AL2/ALASPHP8.1-2023-001.html

https://alas.aws.amazon.com/cve/html/CVE-2022-31630.html

https://alas.aws.amazon.com/cve/html/CVE-2022-37454.html

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

插件详情

严重性: Critical

ID: 181385

文件名: al2_ALASPHP8_1-2023-001.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2023/9/13

最近更新时间: 2023/9/14

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Critical

基本分数: 10

时间分数: 7.8

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

CVSS 分数来源: CVE-2022-37454

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 8.8

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

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

漏洞信息

CPE: p-cpe:/a:amazon:linux:php, p-cpe:/a:amazon:linux:php-bcmath, p-cpe:/a:amazon:linux:php-cli, p-cpe:/a:amazon:linux:php-common, p-cpe:/a:amazon:linux:php-dba, p-cpe:/a:amazon:linux:php-dbg, p-cpe:/a:amazon:linux:php-debuginfo, p-cpe:/a:amazon:linux:php-devel, p-cpe:/a:amazon:linux:php-embedded, p-cpe:/a:amazon:linux:php-enchant, p-cpe:/a:amazon:linux:php-fpm, p-cpe:/a:amazon:linux:php-gd, p-cpe:/a:amazon:linux:php-gmp, p-cpe:/a:amazon:linux:php-intl, p-cpe:/a:amazon:linux:php-ldap, p-cpe:/a:amazon:linux:php-mbstring, p-cpe:/a:amazon:linux:php-mysqlnd, p-cpe:/a:amazon:linux:php-odbc, p-cpe:/a:amazon:linux:php-opcache, p-cpe:/a:amazon:linux:php-pdo, p-cpe:/a:amazon:linux:php-pgsql, p-cpe:/a:amazon:linux:php-process, p-cpe:/a:amazon:linux:php-pspell, p-cpe:/a:amazon:linux:php-snmp, p-cpe:/a:amazon:linux:php-soap, p-cpe:/a:amazon:linux:php-sodium, p-cpe:/a:amazon:linux:php-xml, cpe:/o:amazon:linux:2

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2023/8/4

漏洞发布日期: 2022/10/20

参考资料信息

CVE: CVE-2022-31630, CVE-2022-37454

IAVA: 2022-A-0455-S, 2022-A-0515-S