CVE-2018-1305
Security constraints defined by annotations of Servlets in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 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.
What to do
Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Maven, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | tomcat7 | Fix pending | UBUNTU-CVE-2018-1305 | |
| Ubuntu 16.04 | tomcat8 | Fixed | 8.0.32-1ubuntu1.6 | UBUNTU-CVE-2018-1305 |
| Ubuntu 14.04 | tomcat7 | Fixed | 7.0.52-1ubuntu0.14 | UBUNTU-CVE-2018-1305 |
| Red Hat Enterprise Linux 7 | tomcat | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 7 | tomcat-lib | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 7 | tomcat-webapps | Fixed | 0:7.0.76-9.el7 | RHSA-2019:2205 |
| Red Hat Enterprise Linux 6 | tomcat6 | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-lib | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-log4j | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Not affected | ||
| Red Hat Enterprise Linux 5 | tomcat5 | Not affected | ||
| Maven library | org.apache.tomcat.embed:tomcat-embed-core | Fixed | 8.5.28 | GHSA-jx6h-3fjx-cgv5 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Tomcat: affected: Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49, 7.0.0 to 7.0.84
Vendor advisories:
- https://www.debian.org/security/2018/dsa-4281 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2939 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0465 (vendor-advisory)
- https://usn.ubuntu.com/3665-1/ (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:1320 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0466 (vendor-advisory)
References
- http://www.securityfocus.com/bid/103144
- https://security.netapp.com/advisory/ntap-20180706-0001/
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- https://www.debian.org/security/2018/dsa-4281
- https://access.redhat.com/errata/RHSA-2018:2939
- https://access.redhat.com/errata/RHSA-2018:0465
- https://usn.ubuntu.com/3665-1/
- https://access.redhat.com/errata/RHSA-2018:1320
- https://lists.debian.org/debian-lts-announce/2018/03/msg00004.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://lists.apache.org/thread.html/d3354bb0a4eda4acc0a66f3eb24a213fdb75d12c7d16060b23e65781%40%3Cannounce.tomcat.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2018/07/msg00044.html
- https://access.redhat.com/errata/RHSA-2018:0466
- https://lists.debian.org/debian-lts-announce/2018/06/msg00008.html
- http://www.securitytracker.com/id/1040428
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.