Lucene search

K
amazonAmazonALAS-2018-972
HistoryMar 21, 2018 - 10:06 p.m.

Medium: tomcat7, tomcat8

2018-03-2122:06:00
alas.aws.amazon.com
14

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:N/A:N

0.003 Low

EPSS

Percentile

69.6%

Issue Overview:

Late application of security constraints can lead to resource exposure for unauthorised users:
Security constraints defined by annotations of Servlets in Apache Tomcat were only applied once a Servlet had been loaded. Because security constraints defined in this way apply to the URL pattern and any URLs below that point, it was possible - depending on the order Servlets were loaded - for some security constraints not to be applied. This could have exposed resources to users who were not authorised to access them. (CVE-2018-1305)

Incorrect handling of empty string URL in security constraints can lead to unintended exposure of resources:
The URL pattern of “” (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected. (CVE-2018-1304)

Affected Packages:

tomcat7, tomcat8

Issue Correction:
Run yum update tomcat7 to update your system.
Run yum update tomcat8 to update your system.

New Packages:

noarch:  
    tomcat7-log4j-7.0.85-1.32.amzn1.noarch  
    tomcat7-admin-webapps-7.0.85-1.32.amzn1.noarch  
    tomcat7-javadoc-7.0.85-1.32.amzn1.noarch  
    tomcat7-7.0.85-1.32.amzn1.noarch  
    tomcat7-webapps-7.0.85-1.32.amzn1.noarch  
    tomcat7-jsp-2.2-api-7.0.85-1.32.amzn1.noarch  
    tomcat7-el-2.2-api-7.0.85-1.32.amzn1.noarch  
    tomcat7-lib-7.0.85-1.32.amzn1.noarch  
    tomcat7-servlet-3.0-api-7.0.85-1.32.amzn1.noarch  
    tomcat7-docs-webapp-7.0.85-1.32.amzn1.noarch  
    tomcat8-8.5.29-1.77.amzn1.noarch  
    tomcat8-docs-webapp-8.5.29-1.77.amzn1.noarch  
    tomcat8-admin-webapps-8.5.29-1.77.amzn1.noarch  
    tomcat8-el-3.0-api-8.5.29-1.77.amzn1.noarch  
    tomcat8-javadoc-8.5.29-1.77.amzn1.noarch  
    tomcat8-webapps-8.5.29-1.77.amzn1.noarch  
    tomcat8-servlet-3.1-api-8.5.29-1.77.amzn1.noarch  
    tomcat8-lib-8.5.29-1.77.amzn1.noarch  
    tomcat8-log4j-8.5.29-1.77.amzn1.noarch  
    tomcat8-jsp-2.3-api-8.5.29-1.77.amzn1.noarch  
  
src:  
    tomcat7-7.0.85-1.32.amzn1.src  
    tomcat8-8.5.29-1.77.amzn1.src  

Additional References

Red Hat: CVE-2018-1304, CVE-2018-1305

Mitre: CVE-2018-1304, CVE-2018-1305

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:N/A:N

0.003 Low

EPSS

Percentile

69.6%