Miggo Logo

CVE-2020-11989:
Improper Authentication in Apache Shiro

9.8

CVSS Score

Basic Information

EPSS Score
-
Published
5/7/2021
Updated
2/1/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.shiro:shiro-coremaven< 1.5.31.5.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper authentication when Shiro interacts with Spring dynamic controllers. The root cause likely involves mismatches between Shiro's path-matching logic (via PathMatchingFilterChainResolver and AntPathMatcher) and Spring's dynamic URL resolution. Shiro's chain resolver determines which security filters apply to a request, and if its pattern matching fails to account for Spring's dynamic routing (e.g., parameterized paths or unconventional URL structures), authentication checks may be bypassed. While the exact commit details are unavailable, historical Shiro path-matching vulnerabilities (e.g., CVE-2020-1957) and the CWE-287 context strongly implicate these components. The AntPathMatcher's confidence is marked 'medium' due to less direct evidence of its role in this specific Spring integration scenario.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*p**** S*iro is * pow*r*ul *n* **sy-to-us* J*v* s**urity *r*m*work t**t p*r*orms *ut**nti**tion, *ut*oriz*tion, *rypto*r*p*y, *n* s*ssion m*n***m*nt. *p**** S*iro ***or* *.*.*, w**n usin* *p**** S*iro wit* Sprin* *yn*mi* *ontroll*rs, * sp**i*lly *r**

Reasoning

T** vuln*r**ility st*ms *rom improp*r *ut**nti**tion w**n S*iro int*r**ts wit* Sprin* *yn*mi* *ontroll*rs. T** root **us* lik*ly involv*s mism*t***s **tw**n S*iro's p*t*-m*t**in* lo*i* (vi* P*t*M*t**in**ilt*r***inR*solv*r *n* *ntP*t*M*t***r) *n* Spri