Amazon Linux AMI update for httpd24



Published: 2024-07-25 | Updated: 2024-08-23
Risk High
Patch available YES
Number of vulnerabilities 5
CVE-ID CVE-2024-38474
CVE-2024-38475
CVE-2024-38476
CVE-2024-38477
CVE-2018-5764
CWE-ID CWE-20
CWE-918
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

httpd24
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 5 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU93541

Risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-38474

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insufficient validation of user-supplied input in mod_rewrite when parsing encoded question marks in backreferences. A remote attacker can execute scripts in directories permitted by the configuration but not directly reachable by any URL or source disclosure of scripts meant to only to be executed as CGI.

Mitigation

Update the affected packages:

i686:
    httpd24-devel-2.4.61-1.103.amzn1.i686
    mod24_session-2.4.61-1.103.amzn1.i686
    httpd24-tools-2.4.61-1.103.amzn1.i686
    httpd24-debuginfo-2.4.61-1.103.amzn1.i686
    mod24_proxy_html-2.4.61-1.103.amzn1.i686
    mod24_ssl-2.4.61-1.103.amzn1.i686
    httpd24-2.4.61-1.103.amzn1.i686
    mod24_md-2.4.61-1.103.amzn1.i686
    mod24_ldap-2.4.61-1.103.amzn1.i686

noarch:
    httpd24-manual-2.4.61-1.103.amzn1.noarch

src:
    httpd24-2.4.61-1.103.amzn1.src

x86_64:
    httpd24-tools-2.4.61-1.103.amzn1.x86_64
    mod24_proxy_html-2.4.61-1.103.amzn1.x86_64
    mod24_ssl-2.4.61-1.103.amzn1.x86_64
    mod24_session-2.4.61-1.103.amzn1.x86_64
    httpd24-2.4.61-1.103.amzn1.x86_64
    httpd24-devel-2.4.61-1.103.amzn1.x86_64
    mod24_ldap-2.4.61-1.103.amzn1.x86_64
    httpd24-debuginfo-2.4.61-1.103.amzn1.x86_64
    mod24_md-2.4.61-1.103.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

httpd24: before 2.4.61-1.103

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2024-1944.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Input validation error

EUVDB-ID: #VU93542

Risk: High

CVSSv3.1: 7.3 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2024-38475

CWE-ID: CWE-20 - Improper input validation

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insufficient validation of user-supplied input in mod_rewrite when first segment of substitution matches filesystem path. A remote attacker can map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL and view contents of files or execute arbitrary code.

Mitigation

Update the affected packages:

i686:
    httpd24-devel-2.4.61-1.103.amzn1.i686
    mod24_session-2.4.61-1.103.amzn1.i686
    httpd24-tools-2.4.61-1.103.amzn1.i686
    httpd24-debuginfo-2.4.61-1.103.amzn1.i686
    mod24_proxy_html-2.4.61-1.103.amzn1.i686
    mod24_ssl-2.4.61-1.103.amzn1.i686
    httpd24-2.4.61-1.103.amzn1.i686
    mod24_md-2.4.61-1.103.amzn1.i686
    mod24_ldap-2.4.61-1.103.amzn1.i686

noarch:
    httpd24-manual-2.4.61-1.103.amzn1.noarch

src:
    httpd24-2.4.61-1.103.amzn1.src

x86_64:
    httpd24-tools-2.4.61-1.103.amzn1.x86_64
    mod24_proxy_html-2.4.61-1.103.amzn1.x86_64
    mod24_ssl-2.4.61-1.103.amzn1.x86_64
    mod24_session-2.4.61-1.103.amzn1.x86_64
    httpd24-2.4.61-1.103.amzn1.x86_64
    httpd24-devel-2.4.61-1.103.amzn1.x86_64
    mod24_ldap-2.4.61-1.103.amzn1.x86_64
    httpd24-debuginfo-2.4.61-1.103.amzn1.x86_64
    mod24_md-2.4.61-1.103.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

httpd24: before 2.4.61-1.103

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2024-1944.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

3) Server-Side Request Forgery (SSRF)

EUVDB-ID: #VU93543

Risk: High

CVSSv3.1: 7.8 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-38476

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker with control over the backend server can run local handlers via internal redirect and gain access to sensitive information or compromise the affected system.

Mitigation

Update the affected packages:

i686:
    httpd24-devel-2.4.61-1.103.amzn1.i686
    mod24_session-2.4.61-1.103.amzn1.i686
    httpd24-tools-2.4.61-1.103.amzn1.i686
    httpd24-debuginfo-2.4.61-1.103.amzn1.i686
    mod24_proxy_html-2.4.61-1.103.amzn1.i686
    mod24_ssl-2.4.61-1.103.amzn1.i686
    httpd24-2.4.61-1.103.amzn1.i686
    mod24_md-2.4.61-1.103.amzn1.i686
    mod24_ldap-2.4.61-1.103.amzn1.i686

noarch:
    httpd24-manual-2.4.61-1.103.amzn1.noarch

src:
    httpd24-2.4.61-1.103.amzn1.src

x86_64:
    httpd24-tools-2.4.61-1.103.amzn1.x86_64
    mod24_proxy_html-2.4.61-1.103.amzn1.x86_64
    mod24_ssl-2.4.61-1.103.amzn1.x86_64
    mod24_session-2.4.61-1.103.amzn1.x86_64
    httpd24-2.4.61-1.103.amzn1.x86_64
    httpd24-devel-2.4.61-1.103.amzn1.x86_64
    mod24_ldap-2.4.61-1.103.amzn1.x86_64
    httpd24-debuginfo-2.4.61-1.103.amzn1.x86_64
    mod24_md-2.4.61-1.103.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

httpd24: before 2.4.61-1.103

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2024-1944.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Input validation error

EUVDB-ID: #VU93544

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-38477

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in mod_proxy. A remote attacker can send specially crafted requests to the web server and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

i686:
    httpd24-devel-2.4.61-1.103.amzn1.i686
    mod24_session-2.4.61-1.103.amzn1.i686
    httpd24-tools-2.4.61-1.103.amzn1.i686
    httpd24-debuginfo-2.4.61-1.103.amzn1.i686
    mod24_proxy_html-2.4.61-1.103.amzn1.i686
    mod24_ssl-2.4.61-1.103.amzn1.i686
    httpd24-2.4.61-1.103.amzn1.i686
    mod24_md-2.4.61-1.103.amzn1.i686
    mod24_ldap-2.4.61-1.103.amzn1.i686

noarch:
    httpd24-manual-2.4.61-1.103.amzn1.noarch

src:
    httpd24-2.4.61-1.103.amzn1.src

x86_64:
    httpd24-tools-2.4.61-1.103.amzn1.x86_64
    mod24_proxy_html-2.4.61-1.103.amzn1.x86_64
    mod24_ssl-2.4.61-1.103.amzn1.x86_64
    mod24_session-2.4.61-1.103.amzn1.x86_64
    httpd24-2.4.61-1.103.amzn1.x86_64
    httpd24-devel-2.4.61-1.103.amzn1.x86_64
    mod24_ldap-2.4.61-1.103.amzn1.x86_64
    httpd24-debuginfo-2.4.61-1.103.amzn1.x86_64
    mod24_md-2.4.61-1.103.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

httpd24: before 2.4.61-1.103

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2024-1944.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

5) Security restrictions bypass

EUVDB-ID: #VU10307

Risk: Low

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-5764

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass security controls on the target system.

The weakness exists in the parse_arguments() function in 'options.c' due to insufficient validation of user-supplied input. A remote attacker can send multiple '--protect-args' values and  bypass the argument-sanitization protection mechanism.

Mitigation

Update the affected packages:

i686:
    httpd24-devel-2.4.61-1.103.amzn1.i686
    mod24_session-2.4.61-1.103.amzn1.i686
    httpd24-tools-2.4.61-1.103.amzn1.i686
    httpd24-debuginfo-2.4.61-1.103.amzn1.i686
    mod24_proxy_html-2.4.61-1.103.amzn1.i686
    mod24_ssl-2.4.61-1.103.amzn1.i686
    httpd24-2.4.61-1.103.amzn1.i686
    mod24_md-2.4.61-1.103.amzn1.i686
    mod24_ldap-2.4.61-1.103.amzn1.i686

noarch:
    httpd24-manual-2.4.61-1.103.amzn1.noarch

src:
    httpd24-2.4.61-1.103.amzn1.src

x86_64:
    httpd24-tools-2.4.61-1.103.amzn1.x86_64
    mod24_proxy_html-2.4.61-1.103.amzn1.x86_64
    mod24_ssl-2.4.61-1.103.amzn1.x86_64
    mod24_session-2.4.61-1.103.amzn1.x86_64
    httpd24-2.4.61-1.103.amzn1.x86_64
    httpd24-devel-2.4.61-1.103.amzn1.x86_64
    mod24_ldap-2.4.61-1.103.amzn1.x86_64
    httpd24-debuginfo-2.4.61-1.103.amzn1.x86_64
    mod24_md-2.4.61-1.103.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

httpd24: before 2.4.61-1.103

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2024-1944.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###