CVE-2022-32532
Published: 29 June 2022
Summary
CVE-2022-32532 is a critical-severity Incorrect Authorization (CWE-863) vulnerability in Apache Shiro. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 0.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
Apache Shiro versions prior to 1.9.1 contain an authorization bypass vulnerability when applications use RegExPatternMatcher or RegexRequestMatcher with a dot character in the regular expression. The flaw arises on certain servlet containers where the matcher can be misconfigured, allowing patterns to match unintended paths and thereby weakening access-control checks defined under CWE-863.
An unauthenticated remote attacker can exploit the issue over the network to circumvent authorization rules, potentially gaining unauthorized access to protected resources with impacts equivalent to full confidentiality, integrity, and availability compromise as reflected in the CVSS 9.8 score.
The Apache project addressed the problem in release 1.9.1, and the associated mailing-list thread at lists.apache.org provides further configuration guidance for affected deployments.
The EPSS score has remained near its peak value of 0.82, indicating sustained exploitation interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-5920
Vulnerability details
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Periodic review and update of procedures reduces incorrect authorization implementations over time.
Supervision identifies cases where authorization logic incorrectly permits unauthorized actions.
Defining permitted attribute values and auditing modifications reduces the chance of incorrect authorization outcomes due to tampered or missing labels.
The authorization process and usage restrictions help prevent incorrect authorization for remote access types.
Establishing configuration and connection requirements helps ensure correct rather than incorrect authorization for wireless access.
Establishing connection authorization processes for mobile devices helps ensure authorization decisions are correctly implemented rather than incorrect.
Monitoring account use, notifying on changes, and reviewing accounts for compliance corrects incorrect authorization assignments.
Ensures authorization decisions for external system use are correctly implemented and enforced.