Amazon Linux 2 : mod_security, --advisory ALAS2-2025-2981 (ALAS-2025-2981)

medium Nessus Plugin ID 261337

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of mod_security installed on the remote host is prior to 2.9.12-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2025-2981 advisory.

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. In versions 2.9.11 and below, an attacker can override the HTTP response's Content-Type, which could lead to several issues depending on the HTTP scenario. For example, we have demonstrated the potential for XSS and arbitrary script source code disclosure in the latest version of mod_security2. This issue is fixed in version 2.9.12. (CVE-2025-54571)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update mod_security' or or 'yum update --advisory ALAS2-2025-2981' to update your system.

See Also

https://alas.aws.amazon.com//AL2/ALAS2-2025-2981.html

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

https://explore.alas.aws.amazon.com/CVE-2025-54571.html

Plugin Details

Severity: Medium

ID: 261337

File Name: al2_ALAS-2025-2981.nasl

Version: 1.1

Type: local

Agent: unix

Published: 9/4/2025

Updated: 9/4/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2025-54571

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

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

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 9/4/2025

Vulnerability Publication Date: 8/5/2025

Reference Information

CVE: CVE-2025-54571