CVE-2020-17523: Authentication bypass in Apache Shiro

org.apache.shiro:shiro-web Updated 02 Oct 2025

Summary

09/02/2022
Yes i
Critical
9.8

CVE-2020-17523: Authentication bypass in Apache Shiro. Affects org.apache.shiro:shiro-web versions < 1.7.1. Fixed in 1.7.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Shiro is a powerful and easy-to-use Java security framework that provides authentication, authorization, cryptography, and session management capabilities. It is commonly used in web applications to secure user access and protect sensitive data. However, versions before 1.7.1 of Apache Shiro, when used with Spring, are vulnerable to an authentication bypass. This vulnerability can be exploited by sending a specially crafted HTTP request, leading to unauthorized access to protected resources.

Vulnerability Detail

The vulnerability (CVE-2020-17523) in Apache Shiro allows an attacker to bypass authentication and gain unauthorized access to protected resources. By exploiting this vulnerability, an attacker can send a specially crafted HTTP request that bypasses the authentication process. This can result in unauthorized access to sensitive data, privilege escalation, and potential compromise of the entire application. The vulnerability has a CVSS score of 9.8, indicating its critical severity.

How To Fix

Minimum fixed version

1.7.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of Apache Shiro to mitigate the risk of authentication bypass.

Conclusion

The authentication bypass vulnerability in Apache Shiro (CVE-2020-17523) poses a significant risk to applications using affected versions. To mitigate this vulnerability, it is crucial to upgrade to Apache Shiro version 1.7.1 or later. This upgrade will address the authentication bypass issue and ensure the security of your application. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.apache.shiro:shiro-web →

Share this vulnerability

FAQ

Apache Shiro is a Java security framework that provides authentication, authorization, cryptography, and session management capabilities for web applications.

This vulnerability allows an attacker to bypass authentication and gain unauthorized access to protected resources. It can lead to unauthorized data access, privilege escalation, and potential compromise of the entire application.

To fix this vulnerability, upgrade to Apache Shiro version 1.7.1 or later. Update the affected package in your Maven project and rebuild your application.

No, there is no known workaround for this vulnerability. It is crucial to upgrade to the fixed version of Apache Shiro.

The CVSS score of this vulnerability is 9.8, indicating its critical severity.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.shiro:shiro-web.

How To Fix

Minimum fixed version

1.7.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback