CVE-2016-6802 Improper Access Control in Apache Shiro

High 7.5 Published Updated

Attackers can bypass servlet filters and gain unauthorized access when Apache Shiro is deployed in a non-root servlet context path.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-6802?

CVE-2016-6802 is a high-severity authentication bypass vulnerability in n/a, published on 20 Sep 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-284

Which versions are affected by CVE-2016-6802?

4 open source packages ship an affected version, including org.apache.shiro:shiro-all and org.apache.shiro:shiro-web. It affects 1 product.

PackageAffectedFixed in
org.apache.shiro:shiro-all MavenAll versions1.3.2
org.apache.shiro:shiro-all MavenAll versions1.3.2
org.apache.shiro:shiro-web MavenAll versions1.3.2
org.apache.shiro:shiro-web MavenAll versions1.3.2

Products include Apache Shiro.

How do I fix CVE-2016-6802?

Upgrade org.apache.shiro:shiro-all to 1.3.2 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2016-6802 being exploited?

There is no known exploitation of CVE-2016-6802 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2016-6802, GHSA-4q2v-j639-cp7p, UBUNTU-CVE-2016-6802.

Is CVE-2016-6802 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free