CVE-2022-32532 Authentication Bypass Vulnerability

Critical 9.8 Published Updated

Attackers can bypass authentication in Apache Shiro applications if RegexRequestMatcher is misconfigured with specific regular expressions.

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

What is CVE-2022-32532?

CVE-2022-32532 is a critical authentication bypass vulnerability in Apache Shiro, published on 28 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Shiro before 1.9.1, A RegexRequestMatcher can be misconfigured to be bypassed on some servlet containers. Applications using RegExPatternMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.

Weakness: CWE-863

Which versions are affected by CVE-2022-32532?

2 open source packages ship an affected version, including org.apache.shiro:shiro-core. It affects 1 product.

PackageAffectedFixed in
org.apache.shiro:shiro-core MavenAll versions1.9.1
org.apache.shiro:shiro-core MavenAll versions1.9.1

Products include Apache Shiro.

How do I fix CVE-2022-32532?

Upgrade org.apache.shiro:shiro-core to 1.9.1 or later.

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

Is CVE-2022-32532 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2022-32532, GHSA-4cf5-xmhp-3xj7, UBUNTU-CVE-2022-32532.

Is CVE-2022-32532 in your software?

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

Check your SBOMs for free