Amazon Linux AMI update for tomcat9



Published: 2024-08-06 | Updated: 2024-09-27
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2021-33037
CVE-2022-23181
CVE-2020-9484
CWE-ID CWE-444
CWE-264
CWE-502
Exploitation vector Network
Public exploit Public exploit code for vulnerability #3 is available.
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

tomcat9
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Inconsistent interpretation of HTTP requests

EUVDB-ID: #VU55423

Risk: Medium

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

CVE-ID: CVE-2021-33037

CWE-ID: CWE-444 - Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

Exploit availability: No

Description

The vulnerability allows a remote attacker to preform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP requests, related to processing of transfer encoding headers.  A remote attacker can send a specially crafted HTTP request to the server and smuggle arbitrary HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.

Mitigation

Update the affected packages:

noarch:
    tomcat9-lib-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-jsp-2.3-api-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-servlet-4.0-api-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-admin-webapps-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-webapps-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-el-3.0-api-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-docs-webapp-9.0.64-1.amzn2023.0.2.noarch

src:
    tomcat9-9.0.64-1.amzn2023.0.2.src

Vulnerable software versions

Amazon Linux AMI: All versions

tomcat9: before 9.0.64-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-059.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) Security restrictions bypass

EUVDB-ID: #VU60079

Risk: Low

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

CVE-ID: CVE-2022-23181

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a time of check, time of use flaw when configured to persist sessions using the FileStore. A local user can perform certain actions which lead to security restrictions bypass and privilege escalation (code execution with Tomcat process privileges).

Mitigation

Update the affected packages:

noarch:
    tomcat9-lib-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-jsp-2.3-api-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-servlet-4.0-api-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-admin-webapps-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-webapps-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-el-3.0-api-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-docs-webapp-9.0.64-1.amzn2023.0.2.noarch

src:
    tomcat9-9.0.64-1.amzn2023.0.2.src

Vulnerable software versions

Amazon Linux AMI: All versions

tomcat9: before 9.0.64-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-059.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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

3) Deserialization of Untrusted Data

EUVDB-ID: #VU28158

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-2020-9484

CWE-ID: CWE-502 - Deserialization of Untrusted Data

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data in uploaded files names. A remote attacker can pass specially crafted file name to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that the server is configured to use PersistenceManager with a FileStore and the attacker knows relative file path from storage location.

Mitigation

Update the affected packages:

noarch:
    tomcat9-lib-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-jsp-2.3-api-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-servlet-4.0-api-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-admin-webapps-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-webapps-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-el-3.0-api-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-9.0.64-1.amzn2023.0.2.noarch
    tomcat9-docs-webapp-9.0.64-1.amzn2023.0.2.noarch

src:
    tomcat9-9.0.64-1.amzn2023.0.2.src

Vulnerable software versions

Amazon Linux AMI: All versions

tomcat9: before 9.0.64-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-059.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.



###SIDEBAR###