VYPR
Critical severityNVD Advisory· Published Mar 25, 2020· Updated Aug 4, 2024

CVE-2020-1957

CVE-2020-1957

Description

Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Apache Shiro before 1.5.2 allows authentication bypass via specially crafted requests when used with Spring dynamic controllers.

Vulnerability

Overview

CVE-2020-1957 is an authentication bypass vulnerability in Apache Shiro versions prior to 1.5.2. The root cause lies in how Shiro's URL path matching interacts with Spring dynamic controllers. When a specially crafted request is sent, Shiro may fail to apply authentication filters, allowing the request to reach a protected resource without proper credentials [1].

Exploitation

An attacker can exploit this vulnerability by sending a crafted HTTP request to a target application that uses Apache Shiro with Spring dynamic controllers. The attack does not require prior authentication and can be performed remotely. The crafted request exploits a discrepancy between Shiro's path matching logic and Spring's controller mapping, causing Shiro to incorrectly treat the request as unauthenticated [1].

Impact

Successful exploitation allows an unauthenticated attacker to bypass authentication and access protected resources. This could lead to unauthorized data access, privilege escalation, or further compromise of the application and its underlying systems [1].

Mitigation

The vulnerability is fixed in Apache Shiro version 1.5.2. Users are strongly advised to upgrade to this version or later. No workarounds are documented. The Apache Shiro project provides the fix in the official repository [1][2].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.shiro:shiro-coreMaven
< 1.5.21.5.2

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

14

News mentions

0

No linked articles in our index yet.