{"id":"CVE-2016-6802","aliases":["DEBIAN-CVE-2016-6802","EUVD-2022-2425","GHSA-4q2v-j639-cp7p","UBUNTU-CVE-2016-6802","USN-7147-1"],"status":"published","title":"Improper Access Control in Apache Shiro","description":"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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0968,"percentile":0.95533,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-284"],"published":"2016-09-20T19:00:00Z","modified":"2026-10-24T10:30:43Z","fixes":[{"ecosystem":"Maven","package":"org.apache.shiro:shiro-all","fixed_in":["1.3.2"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.shiro:shiro-web","fixed_in":["1.3.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"shiro","fixed_in":["1.3.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"shiro","fixed_in":["1.3.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"shiro","fixed_in":["1.3.2-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"shiro","fixed_in":["1.2.4-1ubuntu0.1~esm2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.shiro:shiro-all","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.shiro:shiro-all","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2"}]}],"versions":["1.0.0-incubating","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.3.0","1.3.1"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2"}]}],"versions":["1.0.0-incubating","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.3.0","1.3.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.4-1ubuntu0.1~esm2"}]}],"versions":["1.2.4-1","1.2.4-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.4-1ubuntu0.1~esm2"}]}],"versions":["1.2.4-1","1.2.4-1ubuntu0.1~esm1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-5ubuntu0.24.04.1~esm1"}]}],"versions":["1.3.2-5"],"bundled":4}],"products":[{"vendor":"apache","product":"shiro"}],"references":[{"url":"http://www.securityfocus.com/archive/1/539397/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://packetstormsecurity.com/files/138709/Apache-Shiro-Filter-Bypass.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.securityfocus.com/bid/92947","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6802","tags":["advisory"]},{"url":"https://github.com/apache/shiro/commit/b15ab927709ca18ea4a02538be01919a19ab65af","tags":["web"]},{"url":"https://issues.apache.org/jira/browse/SHIRO-584","tags":["web"]},{"url":"https://packetstormsecurity.com/files/138709/Apache-Shiro-Filter-Bypass.html","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4q2v-j639-cp7p"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-6802","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-6802","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2016/09/13/3","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-6802","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7147-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-34478","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-46749","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-46750","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-6802","description":"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.","status":"published","published":"2016-09-20T19:00:00Z","modified":"2024-08-06T01:43:37.909Z","updated_at":"2026-11-02T14:33:34.815789Z"}],"euvd":[{"id":"EUVD-2022-2425","description":"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.","status":"published","published":"2016-09-20T19:00:00Z","modified":"2024-08-06T01:43:37Z","updated_at":"2026-11-03T02:22:35.048987Z"}],"ghsa":[{"id":"GHSA-4q2v-j639-cp7p","title":"Improper Access Control in Apache Shiro","description":"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.","status":"published","published":"2022-05-14T02:46:12Z","modified":"2023-02-02T05:04:13Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:36:40.500292Z"}],"nvd":[{"id":"CVE-2016-6802","description":"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.","status":"published","published":"2016-09-20T19:59:00.137Z","modified":"2026-06-17T00:51:47.81Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:03:29.893676Z"}],"osv":[{"id":"CVE-2016-6802","description":"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.","status":"published","published":"2016-09-20T19:59:00.137Z","modified":"2026-10-24T10:30:43.252584236Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:02.776224Z"},{"id":"DEBIAN-CVE-2016-6802","description":"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.","status":"published","published":"2016-09-20T19:59:00.137Z","modified":"2026-10-05T04:00:03.106533181Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:27.910042Z"},{"id":"GHSA-4q2v-j639-cp7p","title":"Improper Access Control in Apache Shiro","description":"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.","status":"published","published":"2022-05-14T02:46:12Z","modified":"2023-11-08T03:58:33.527856Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T15:46:37.148947Z"},{"id":"UBUNTU-CVE-2016-6802","description":"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.","status":"published","published":"2016-09-20T19:59:00Z","modified":"2026-02-04T03:31:15.032154Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:12.642042Z"},{"id":"USN-7147-1","title":"shiro vulnerabilities","description":"It was discovered that Apache Shiro incorrectly handled path traversal when\nused with other web frameworks or path rewriting. An attacker could\npossibly use this issue to obtain sensitive information or administrative\nprivileges. This update provides the corresponding fix for Ubuntu 24.04 LTS\nand Ubuntu 24.10. (CVE-2023-34478, CVE-2023-46749)\n\nIt was discovered that Apache Shiro incorrectly handled web redirects when\nused together with the form authentication method. An attacker could\npossibly use this issue to perform phishing attacks. This update provides\nthe corresponding fix for Ubuntu 24.04 LTS and Ubuntu 24.10.\n(CVE-2023-46750)\n\nIt was discovered that Apache Shiro incorrectly handled requests through\nservlet filtering. An attacker could possibly use this issue to obtain\nadministrative privileges. This update provides the corresponding fix for\nUbuntu 16.04 LTS. (CVE-2016-6802)\n","status":"published","published":"2024-12-10T18:08:44Z","modified":"2026-06-25T13:32:29.962137062Z","updated_at":"2026-11-02T16:58:18.876384Z"}]}}
