Amazon Linux 2 : mod_security (ALAS-2025-2887)

high Nessus 插件 ID 238359

简介

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

描述

远程主机上安装的 mod_security 版本低于 2.9.10-1。因此,该软件受到 ALAS2-2025-2887 公告中提及的多个漏洞影响。

ModSecurity 是适用于 Apache、IIS 和 Nginx 的开源跨平台 Web 应用程序防火墙 (WAF) 引擎。在一种特殊情况下 2.9.8 含之前版本在稳定发布的版本中容易遭受拒绝服务攻击当负载的内容类型为“application/json”并且至少有一个执行“sanitiseMatchedBytes”操作的规则时。可在拉取请求 3389 中找到一个修补程序该修补程序预计包含在 版本 2.9.9中。没有已知的变通方案可用。(CVE-2025-47947)

ModSecurity 是适用于 Apache、IIS 和 Nginx 的开源跨平台 Web 应用程序防火墙 (WAF) 引擎。低于 2.9.10 的版本包含一个与 GHSA-859r-vvv8-rm8r/ 类似的拒绝服务漏洞CVE-2025-47947。“sanitiseArg”和“sanitizeArg” - 这是相同的操作只不过是一个别名容易受到添加过多参数的影响从而导致拒绝服务。
版本 2.9.10 修复了该问题。变通方案为避免使用包含“sanitiseArg”或“sanitizeArg”操作的规则。 (CVE-2025-48866)

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

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

解决方案

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

另见

https://alas.aws.amazon.com/AL2/ALAS-2025-2887.html

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

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

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

插件详情

严重性: High

ID: 238359

文件名: al2_ALAS-2025-2887.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2025/6/12

最近更新时间: 2025/6/12

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

风险信息

VPR

风险因素: Medium

分数: 4.4

CVSS v2

风险因素: High

基本分数: 7.8

时间分数: 5.8

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

CVSS 分数来源: CVE-2025-48866

CVSS v3

风险因素: High

基本分数: 7.5

时间分数: 6.5

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

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

漏洞信息

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:mod_security-mlogc, p-cpe:/a:amazon:linux:mod_security, p-cpe:/a:amazon:linux:mod_security-debuginfo

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

易利用性: No known exploits are available

补丁发布日期: 2025/6/12

漏洞发布日期: 2025/5/21

参考资料信息

CVE: CVE-2025-47947, CVE-2025-48866