FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

tomcat -- Security constraints ignored or applied too late

Affected packages
7.0.0 <= tomcat <= 7.0.84
8.0.0 <= tomcat <= 8.0.49
8.5.0 <= tomcat <= 8.5.27
9.0.0 <= tomcat <= 9.0.4

Details

VuXML ID 55c4233e-1844-11e8-a712-0025908740c2
Discovery 2018-02-23
Entry 2018-02-23

The Apache Software Foundation reports:

Security constraints defined by annotations of Servlets 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.

The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled 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.

References

CVE Name CVE-2018-1304
CVE Name CVE-2018-1305
URL http://tomcat.apache.org/security-7.html
URL http://tomcat.apache.org/security-8.html
URL http://tomcat.apache.org/security-9.html