Amazon Linux 2023 : mod_security, mod_security-mlogc (ALAS2023-2025-1157)

medium Nessus Plugin ID 261741

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2025-1157 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 'dnf update mod_security --releasever 2023.8.20250908' or or 'dnf update --advisory ALAS2023-2025-1157 --releasever 2023.8.20250908' to update your system.

See Also

https://alas.aws.amazon.com//AL2023/ALAS2023-2025-1157.html

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

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

Plugin Details

Severity: Medium

ID: 261741

File Name: al2023_ALAS2023-2025-1157.nasl

Version: 1.1

Type: local

Agent: unix

Published: 9/8/2025

Updated: 9/8/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, 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:2023, p-cpe:/a:amazon:linux:mod_security-mlogc, p-cpe:/a:amazon:linux:mod_security, p-cpe:/a:amazon:linux:mod_security-debugsource, p-cpe:/a:amazon:linux:mod_security-debuginfo, p-cpe:/a:amazon:linux:mod_security-mlogc-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/8/2025

Vulnerability Publication Date: 8/5/2025

Reference Information

CVE: CVE-2025-54571