Alibaba Cloud Linux 3 : 0155: httpd:2.4 (ALINUX3-SA-2024:0155)

critical Nessus Plugin ID 236226

Synopsis

The remote Alibaba Cloud Linux host is missing one or more security updates.

Description

The remote Alibaba Cloud Linux 3 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALINUX3-SA-2024:0155 advisory.

Package updates are available for Alibaba Cloud Linux 3 that fix the following vulnerabilities:

CVE-2023-38709:
Faulty input validation in the core of Apache allows malicious or exploitable backend/content generators to split HTTP responses.

CVE-2024-38473:
Encoding problem in mod_proxy in Apache HTTP Server 2.4.59 and earlier allows request URLs with incorrect encoding to be sent to backend services, potentially bypassing authentication via crafted requests.
Users are recommended to upgrade to version 2.4.60, which fixes this issue.

CVE-2024-38474:
Substitution encoding issue in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows attacker to execute scripts in directories permitted by the configuration but not directly reachable by anyURL or source disclosure of scripts meant to only to be executed as CGI.
Users are recommended to upgrade to version 2.4.60, which fixes this issue.
Some RewriteRules that capture and substitute unsafely will now fail unless rewrite flag UnsafeAllow3F is specified.

CVE-2024-38475:
Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that arepermitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure.
Substitutions inserver context that use a backreferences or variables as the first segment of the substitution are affected. Some unsafe RewiteRules will be broken by this change and the rewrite flag UnsafePrefixStat can be used to opt back in once ensuring the substitution is appropriately constrained.

CVE-2024-38477:
null pointer dereference in mod_proxy in Apache HTTP Server 2.4.59 and earlier allows an attacker to crash the server via a malicious request.
Users are recommended to upgrade to version 2.4.60, which fixes this issue.

CVE-2024-39573:
Potential SSRF in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to cause unsafe RewriteRules to unexpectedly setup URL's to be handled by mod_proxy.
Users are recommended to upgrade to version 2.4.60, which fixes this issue.

Tenable has extracted the preceding description block directly from the Alibaba Cloud Linux security advisory.

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

Solution

Update the affected packages.

See Also

http://mirrors.aliyun.com/alinux/3/cve/alinux3-sa-20240155.xml

Plugin Details

Severity: Critical

ID: 236226

File Name: alinux3_sa_2024-0155.nasl

Version: 1.1

Type: local

Published: 5/14/2025

Updated: 5/14/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.5

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

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

CVSS Score Source: CVE-2024-38474

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

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

Vulnerability Information

CPE: p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:mod_ssl-debuginfo, cpe:/o:alibabacloud:alibaba_cloud_linux_3, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:httpd-filesystem, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:mod_ldap, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:mod_ldap-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:httpd-manual, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:httpd-devel, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:mod_proxy_html, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:mod_session, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:httpd-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:httpd-tools-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:mod_ssl, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:httpd-debugsource, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:httpd, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:httpd-tools, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:mod_session-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:mod_proxy_html-debuginfo

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/31/2024

Vulnerability Publication Date: 4/4/2024

CISA Known Exploited Vulnerability Due Dates: 5/22/2025

Reference Information

CVE: CVE-2023-38709, CVE-2024-38473, CVE-2024-38474, CVE-2024-38475, CVE-2024-38477, CVE-2024-39573