Amazon Linux AMI update for tomcat7



Published: 2021-04-07
Risk High
Patch available YES
Number of vulnerabilities 3
CVE ID CVE-2020-9484
CVE-2020-9494
CVE-2021-25329
CWE ID CWE-502
CWE-400
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Advisory

1) Deserialization of Untrusted Data

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] [PCI]

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:
    tomcat7-webapps-7.0.108-1.40.amzn1.noarch
    tomcat7-log4j-7.0.108-1.40.amzn1.noarch
    tomcat7-el-2.2-api-7.0.108-1.40.amzn1.noarch
    tomcat7-javadoc-7.0.108-1.40.amzn1.noarch
    tomcat7-lib-7.0.108-1.40.amzn1.noarch
    tomcat7-admin-webapps-7.0.108-1.40.amzn1.noarch
    tomcat7-7.0.108-1.40.amzn1.noarch
    tomcat7-servlet-3.0-api-7.0.108-1.40.amzn1.noarch
    tomcat7-jsp-2.2-api-7.0.108-1.40.amzn1.noarch
    tomcat7-docs-webapp-7.0.108-1.40.amzn1.noarch

src:
    tomcat7-7.0.108-1.40.amzn1.src

Vulnerable software versions

Amazon Linux AMI: 2017.03

CPE External links

https://alas.aws.amazon.com/ALAS-2021-1493.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.

2) Resource exhaustion

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] [PCI]

CVE-ID: CVE-2020-9494

CWE-ID: CWE-400 - Uncontrolled Resource Consumption ('Resource Exhaustion')

Exploit availability: No

Description

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

The vulnerability exists due to application does not properly control consumption of internal resources when processing HTTP/2 HEADERS frames. A remote attacker can send specially crafted HTTP/2 requests to the server, trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

noarch:
    tomcat7-webapps-7.0.108-1.40.amzn1.noarch
    tomcat7-log4j-7.0.108-1.40.amzn1.noarch
    tomcat7-el-2.2-api-7.0.108-1.40.amzn1.noarch
    tomcat7-javadoc-7.0.108-1.40.amzn1.noarch
    tomcat7-lib-7.0.108-1.40.amzn1.noarch
    tomcat7-admin-webapps-7.0.108-1.40.amzn1.noarch
    tomcat7-7.0.108-1.40.amzn1.noarch
    tomcat7-servlet-3.0-api-7.0.108-1.40.amzn1.noarch
    tomcat7-jsp-2.2-api-7.0.108-1.40.amzn1.noarch
    tomcat7-docs-webapp-7.0.108-1.40.amzn1.noarch

src:
    tomcat7-7.0.108-1.40.amzn1.src

Vulnerable software versions

Amazon Linux AMI: 2017.03

CPE External links

https://alas.aws.amazon.com/ALAS-2021-1493.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.

3) Deserialization of Untrusted Data

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] [PCI]

CVE-ID: CVE-2021-25329

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

Exploit availability: No

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. A remote attacker can pass specially crafted data to the application and execute arbitrary code on the target system.

Note, the vulnerability exists due to incomplete fix for #VU28158 and requires a certain specific configuration.

Mitigation

Update the affected packages:

noarch:
    tomcat7-webapps-7.0.108-1.40.amzn1.noarch
    tomcat7-log4j-7.0.108-1.40.amzn1.noarch
    tomcat7-el-2.2-api-7.0.108-1.40.amzn1.noarch
    tomcat7-javadoc-7.0.108-1.40.amzn1.noarch
    tomcat7-lib-7.0.108-1.40.amzn1.noarch
    tomcat7-admin-webapps-7.0.108-1.40.amzn1.noarch
    tomcat7-7.0.108-1.40.amzn1.noarch
    tomcat7-servlet-3.0-api-7.0.108-1.40.amzn1.noarch
    tomcat7-jsp-2.2-api-7.0.108-1.40.amzn1.noarch
    tomcat7-docs-webapp-7.0.108-1.40.amzn1.noarch

src:
    tomcat7-7.0.108-1.40.amzn1.src

Vulnerable software versions

Amazon Linux AMI: 2017.03

CPE External links

https://alas.aws.amazon.com/ALAS-2021-1493.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###