GHSA-mv42-px54-87jw CVE-2016-0714
Improper Access Control in Apache Tomcat
- Severity
- 8.8 / 10
- High · CVSS 3.0
- Exploit chance (EPSS)
- 13.08%
- Chance of exploitation in the next 30 days. Higher than 96.35% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-284 Improper Access Control
- Fix
9.0.0.M2- Upgrade org.apache.tomcat:tomcat to this version or later
Description
The session-persistence implementation in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M2 mishandles session attributes, which allows remote authenticated users to bypass intended SecurityManager restrictions and execute arbitrary code in a privileged context via a web application that places a crafted object in a session.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat | >= 9.0.0.M1, < 9.0.0.M2 |
9.0.0.M2 |
| org.apache.tomcat:tomcat | >= 8.0.0.RC1, < 8.0.32 |
8.0.32 |
| org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.70 |
7.0.70 |
| org.apache.tomcat:tomcat | >= 6.0.0, < 6.0.46 |
6.0.46 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
org.apache.tomcat:tomcat Maven → 9.0.0.M2
- maven
<dependency><groupId>org.apache.tomcat</groupId><artifactId>tomcat</artifactId><version>9.0.0.M2</version></dependency>- gradle
implementation("org.apache.tomcat:tomcat:9.0.0.M2")
Severity breakdown
CVSS 3.0 8.8
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Weakness
CWE-284: Improper Access Control
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
How to prevent it
- Architecture and Design, Operation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
- Architecture and Design: Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
References
Advisories
Packages
Other links
- github.com/apache/tomcat/commit/50f1b1da794cd93b70ab5456d3c2c984408e1506
- github.com/apache/tomcat/commit/79e8ad03404c131009811855f9a30d8d01c0c736
- github.com/apache/tomcat/commit/824eb1d1ad922e7652ecf51adb2b9eebb5bb88b5
- github.com/apache/tomcat/commit/e1b1002129fea4033329f6f619ba219527bbbd40
- github.com/apache/tomcat/commit/f626da75fd59da82b14dee7b8cc46ad51eefdbe5
- github.com/apache/tomcat/commit/ff1b659dc366a2ad47cd8f7e3544c796a1b15e46
- github.com/apache/tomcat80/commit/2e5cc28052e84ba45196949ba602484221bbf33c
- github.com/apache/tomcat80/commit/5430f30c79383e4d2d87785468905fcb00bace58
- lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb…
- lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb…
- lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859…
- lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859…
- lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9…
- lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9…
- lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19…
- lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19…
- security.gentoo.org/glsa/201705-09
- security.netapp.com/advisory/ntap-20180531-0001
- web.archive.org/web/20170204045529/http://www.securityfocus.com/bid/83327
- web.archive.org/web/20170601064840/http://www.securitytracker.com/id/1035069
- web.archive.org/web/20170927131230/http://www.securitytracker.com/id/1037640
- lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95…
- lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95…
- lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b…
- lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b…
- lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113…
- lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113…
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay
- bto.bluecoat.com/security-advisory/sa118
- access.redhat.com/errata/RHSA-2016:1088
- access.redhat.com/errata/RHSA-2016:1087
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00082.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html
- marc.info
- rhn.redhat.com/errata/RHSA-2016-1089.html
- rhn.redhat.com/errata/RHSA-2016-2045.html
- rhn.redhat.com/errata/RHSA-2016-2599.html
- rhn.redhat.com/errata/RHSA-2016-2807.html
- rhn.redhat.com/errata/RHSA-2016-2808.html
- seclists.org/bugtraq/2016/Feb/145
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- tomcat.apache.org/security-6.html
- tomcat.apache.org/security-7.html
- tomcat.apache.org/security-8.html
- tomcat.apache.org/security-9.html
- debian.org/security/2016/dsa-3530
- debian.org/security/2016/dsa-3552
- debian.org/security/2016/dsa-3609
- oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- ubuntu.com/usn/USN-3024-1
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-69r9-qgr7-g2wj Apache Tomcat Missing Encryption of Sensitive Data vulnerability | High Known exploited | Also affects org.apache.tomcat:tomcat |
| GHSA-h3x4-894j-xpx5 Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability | Critical | Also affects org.apache.tomcat:tomcat |
| GHSA-9xv2-5v5q-p794 Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability | Critical | Also affects org.apache.tomcat:tomcat |
| GHSA-gcx9-497g-6cp6 Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability | Critical | Also affects org.apache.tomcat:tomcat |
| GHSA-5m62-pw8w-7w9f Apache Tomcat - Security constraints not correctly applied | Critical | Also affects org.apache.tomcat:tomcat |
| GHSA-9m89-8frq-c98c Apache Tomcat - AJP secret compared in non-constant time | Low | Also affects org.apache.tomcat:tomcat |
| GHSA-5mp6-jrq3-r938 Apache Tomcat: LockOutRealm treats user names as case-sensitive | High | Also affects org.apache.tomcat:tomcat |
| GHSA-h6fc-48rj-7qqh Apache Tomcat - Digest authenticator will authenticate any unknown user | Critical | Also affects org.apache.tomcat:tomcat |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor