CVE-2020-1957
Apache Shiro vulnerability analysis and mitigation

Overview

CVE-2020-1957 is a security vulnerability discovered in Apache Shiro versions before 1.5.2. The vulnerability affects installations where Apache Shiro is used with Spring dynamic controllers, where a specially crafted request could lead to an authentication bypass (NVD, CVE). The vulnerability was disclosed on March 25, 2020, and was assigned a CVSS v3.1 base score of 9.8 (CRITICAL).

Technical details

The vulnerability received a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating network accessibility, low attack complexity, no privileges required, and no user interaction needed. The vulnerability also received a CVSS v2.0 base score of 7.5 (HIGH) with the vector (AV:N/AC:L/Au:N/C:P/I:P/A:P) (NVD).

Impact

When successfully exploited, this vulnerability allows attackers to bypass authentication mechanisms in Apache Shiro when used with Spring dynamic controllers. This could potentially lead to unauthorized access to protected resources and compromise of system security (NVD).

Mitigation and workarounds

The primary mitigation is to upgrade Apache Shiro to version 1.5.2 or later. Various distributions have also released security updates, including Debian which released version 1.2.3-1+deb8u1 for Jessie (Debian Advisory).

Community reactions

The vulnerability prompted immediate response from various Apache projects, with Apache Camel quickly updating to Shiro 1.5.2 to address the vulnerability. Geode users expressed concerns about the critical security vulnerability in shiro-1.4.1.jar (Geode List).

Additional resources


SourceThis report was generated using AI

Related Apache Shiro vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2022-40664CRITICAL9.8
  • Apache ShiroApache Shiro
  • org.apache.shiro:shiro-core
NoYesOct 12, 2022
CVE-2022-32532CRITICAL9.8
  • Apache ShiroApache Shiro
  • shiro
NoYesJun 29, 2022
CVE-2021-41303CRITICAL9.8
  • Apache ShiroApache Shiro
  • org.apache.shiro:shiro-core
NoYesSep 17, 2021
CVE-2020-13933HIGH7.5
  • Apache ShiroApache Shiro
  • shiro
NoYesAug 17, 2020
CVE-2023-46749MEDIUM6.5
  • Apache ShiroApache Shiro
  • org.apache.shiro:shiro-core
NoYesJan 15, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management