CVE-2020-17523 Authentication bypass in Apache Shiro

Critical 9.8 Published Updated

Attackers can bypass authentication in Apache Shiro when integrated with Spring via specially crafted HTTP requests.

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

What is CVE-2020-17523?

CVE-2020-17523 is a critical authentication bypass vulnerability in Apache Shiro, published on 3 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Shiro before 1.7.1, when using Apache Shiro with Spring, a specially crafted HTTP request may cause an authentication bypass.

Weakness: CWE-287

Which versions are affected by CVE-2020-17523?

6 open source packages ship an affected version, including org.apache.shiro:shiro-spring, org.apache.shiro:shiro-spring-boot-starter and org.apache.shiro:shiro-web. It affects 1 product.

PackageAffectedFixed in
org.apache.shiro:shiro-spring MavenAll versions1.7.1
org.apache.shiro:shiro-spring MavenAll versions1.7.1
org.apache.shiro:shiro-spring-boot-starter MavenAll versions1.7.1
org.apache.shiro:shiro-spring-boot-starter MavenAll versions1.7.1
org.apache.shiro:shiro-web MavenAll versions1.7.1
org.apache.shiro:shiro-web MavenAll versions1.7.1

Products include Apache Shiro.

How do I fix CVE-2020-17523?

Upgrade org.apache.shiro:shiro-spring to 1.7.1 or later.

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

Is CVE-2020-17523 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-v98j-7crc-wvrj.

Is CVE-2020-17523 in your software?

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

Check your SBOMs for free