CVE-2016-6802
High · 7.5CVSS
7.5
EPSS
9.7%
Published
Sep 20, 2016
CISA due date
—
Cloudanix analysis
An old flaw in a web security library could let outsiders reach parts of an application they should not if the program is not installed in the main folder.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Web Framework
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability allows bypassing of intended servlet filters in Apache Shiro when a non-root servlet context path is used, resulting in unauthorized access to protected resources.
Why it matters to the business
Attackers can gain unauthorized access to application resources, potentially leading to data breaches or system compromise. The issue affects older deployments and remains relevant in unpatched environments despite low EPSS and no known ransomware usage.
How an attack unfolds
An attacker identifies a web application using a vulnerable version of Apache Shiro configured with a non-root servlet context path and sends crafted HTTP requests that evade the intended filter chain, granting direct access to protected endpoints without authentication or authorization.
How to fix it
Upgrade Apache Shiro to version 1.3.2 or later. For the listed affected packages, update envoy-ratelimit-fips (Chainguard) and envoy-ratelimit-fips-compat (Chainguard) to 0.0_git20231206-r1.
How to confirm the fix worked
Confirm Apache Shiro version is at least 1.3.2, review servlet context path configuration, and test that filters are enforced on all paths including non-root contexts.
Typical attack path
- Scan for web applications using Apache Shiro prior to version 1.3.2 with non-root context paths
- Craft HTTP requests designed to bypass servlet filters
- Access restricted resources or functionality without proper credentials
How to detect it
Examine web server and application logs for requests reaching protected endpoints without corresponding authentication events or filter execution traces; correlate with unusual access patterns to non-root context resources.
What your security team should do
- Apply the fixed package versions or upgrade Shiro immediately given the 3668 days since publication
- Audit all deployments for non-root servlet context usage
- Implement additional access controls and monitoring around protected endpoints
The record
Apache Shiro before 1.3.2 allows attackers to bypass intended servlet filters and gain access by leveraging use of a non-root servlet context path.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.apache.shiro:shiro-all | 0 | 1.3.2 |
| Maven | org.apache.shiro:shiro-web | 0 | 1.3.2 |
| Debian:11 | shiro | 0 | 1.3.2-1 |
| Debian:12 | shiro | 0 | 1.3.2-1 |
| Debian:13 | shiro | 0 | 1.3.2-1 |
| Ubuntu:18.04:LTS | shiro | 0 | 1.3.2-2 |
| Ubuntu:24.10 | shiro | 0 | 1.3.2-5ubuntu0.24.10.1 |
| Ubuntu:Pro:16.04:LTS | shiro | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | shiro | 0 | 1.2.4-1ubuntu0.1~esm2 |
| Ubuntu:Pro:24.04:LTS | shiro | 0 | 1.3.2-5ubuntu0.24.04.1~esm1 |
Related vulnerabilities
- CVE-2016-4437 Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember… Also affects shiro
- CVE-2026-114574 A security vulnerability has been detected in massCodeIO massCode 5.10. CWE-284
- CVE-2026-83395 Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise… CWE-284
- CVE-2026-112091 A flaw has been found in Dav-ee dairy-management-system… CWE-284
- CVE-2026-106580 ImageMagick is free and open-source software used for editing and manipulating digital… CWE-284
- CVE-2026-61700 MariaDB Connector/J is used to connect applications developed in Java to MariaDB and… CWE-284
- CVE-2026-86812 The WPCafe WordPress plugin before 3.0.18 does not correctly restrict access to a set of… CWE-284
- CVE-2026-85545 There is an Vulnerability in some HikCentral Access Control versions. CWE-284