GHSA-9hjv-9h75-xmpp CVE-2016-0763
Improper Verification of Source of a Communication Channel in Apache Tomcat
- Severity
- 6.3 / 10
- Medium · CVSS 3.0
- Exploit chance (EPSS)
- 11.30%
- Chance of exploitation in the next 30 days. Higher than 95.98% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-940 Improper Verification of Source of a Communication Channel
- Fix
7.0.68- Upgrade org.apache.tomcat:tomcat to this version or later
Description
The setGlobalContext method in org/apache/naming/factory/ResourceLinkFactory.java in Apache Tomcat 7.x before 7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M3 does not consider whether ResourceLinkFactory.setGlobalContext callers are authorized, which allows remote authenticated users to bypass intended SecurityManager restrictions and read or write to arbitrary application data, or cause a denial of service (application disruption), via a web application that sets a crafted global context.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.68 |
7.0.68 |
| org.apache.tomcat:tomcat | >= 8.0.0, < 8.0.32 |
8.0.32 |
| org.apache.tomcat:tomcat | >= 9.0.0M1, < 9.0.0.M3 |
9.0.0.M3 |
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 → 7.0.68
- maven
<dependency><groupId>org.apache.tomcat</groupId><artifactId>tomcat</artifactId><version>7.0.68</version></dependency>- gradle
implementation("org.apache.tomcat:tomcat:7.0.68")
Severity breakdown
CVSS 3.0 6.3
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Weakness
CWE-940: Improper Verification of Source of a Communication Channel
The product establishes a communication channel to handle an incoming request that has been initiated by an actor, but it does not properly verify that the request is coming from the expected origin.
How to prevent it
- Architecture and Design: Use a mechanism that can validate the identity of the source, such as a certificate, and validate the integrity of data to ensure that it cannot be modified in transit using an Adversary-in-the-Middle (AITM) attack. When designing functionality of actions in the URL scheme, consider whether the action should be accessible to all mobile applications, or if an allowlist of applications to interface with is appropriate.
References
Advisories
Packages
Other links
- github.com/apache/tomcat/commit/76ebc9007567c8326217dd94844540e1e27d8468
- github.com/apache/tomcat/commit/c08641da04d31f730b56b8675301e55db97dfe88
- github.com/apache/tomcat80/commit/0531f7aeff1999d362e0a68512a3517f2cf1a6ae
- web.archive.org/web/20160404202803/http://www.securitytracker.com/id/1035069
- web.archive.org/web/20160314101138/http://www.securityfocus.com/bid/83326
- security.netapp.com/advisory/ntap-20180531-0001
- security.gentoo.org/glsa/201705-09
- lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19…
- lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19…
- lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551…
- lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551…
- 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.fedoraproject.org/pipermail/package-announce/2016-March/179356.html
- 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/msg00085.html
- rhn.redhat.com/errata/RHSA-2016-1089.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/147
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- svn.apache.org/viewvc
- 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/cpuoct2016-2881722.html
- oracle.com/technetwork/security-advisory/cpuoct2017-3236626.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