Amazon Linux 2 : php (ALASPHP8.2-2025-007)

medium Nessus Plugin ID 233685

概要

遠端 Amazon Linux 2 主機缺少安全性更新。

說明

遠端主機上安裝的 PHP 版本低於 8.2.28-1。因此,它受到 ALAS2PHP8.2-2025-007 公告中提及的多個弱點影響。

`http` 資料流包裝函式的標頭剖析器未處理折疊的標頭。(CVE-2025-1217)

使用 DOM 或 SimpleXML 延伸模組要求 HTTP 資源時,若所要求的資源執行重新導向,會使用錯誤的 `content-type` 標頭來判斷字元集。(CVE-2025-1219)

Streams HTTP 包裝器不會因標頭名稱無效且缺少冒號而失敗。(CVE-2025-1734)

資料流 HTTP 包裝函式標頭檢查可能會省略基本驗證標頭。(CVE-2025-1736)

資料流 HTTP 包裝函式會將重新導向位置截斷為 1024 位元組 (CVE-2025-1861)

Tenable 已直接從所測試產品的安全公告擷取前置描述區塊。

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

解決方案

執行「yum update php」以更新系統。

另請參閱

https://alas.aws.amazon.com/AL2/ALASPHP8.2-2025-007.html

https://alas.aws.amazon.com/cve/html/CVE-2025-1217.html

https://alas.aws.amazon.com/cve/html/CVE-2025-1219.html

https://alas.aws.amazon.com/cve/html/CVE-2025-1734.html

https://alas.aws.amazon.com/cve/html/CVE-2025-1736.html

https://alas.aws.amazon.com/cve/html/CVE-2025-1861.html

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

Plugin 詳細資訊

嚴重性: Medium

ID: 233685

檔案名稱: al2_ALASPHP8_2-2025-007.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2025/4/1

已更新: 2025/4/1

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.5

時間性分數: 5.5

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

CVSS 評分資料來源: CVE-2025-1736

CVSS v3

風險因素: High

基本分數: 7.3

時間性分數: 6.4

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

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

CVSS v4

風險因素: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS 評分資料來源: CVE-2025-1861

弱點資訊

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

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2025/3/26

弱點發布日期: 2025/3/12

參考資訊

CVE: CVE-2025-1217, CVE-2025-1219, CVE-2025-1734, CVE-2025-1736, CVE-2025-1861

IAVA: 2025-A-0183