CVE-2022-40664CWE-287

Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher

Critical · published October 12, 2022

CVSS v3.1
9.8
EPSS
4%
Percentile
89.4
In the wild
Unconfirmed
What it is

🚨 An unguarded passage in Apache Shiro could let an attacker stroll right past authentication checks — a surefire way to turn them into the VIP guest at your server's party! 🔥 Think of Apache Shiro like a fancy restaurant with a hidden side entrance. If the staff forget to check who enters through that door, anyone can sneak in without a reservation, ready to wreak havoc! An attacker could gain unauthorized access to sensitive areas of your application, potentially leading to data breaches, system manipulation, or even full control over your application. This vulnerability makes it terrifyingly easy for malicious users to bypass all authentication safeguards, resulting in absolute chaos!

Put simply

Think of Apache Shiro like a fancy restaurant with a hidden side entrance. If the staff forget to check who enters through that door, anyone can sneak in without a reservation, ready to wreak havoc! This authentication bypass vulnerability occurs when Apache Shiro forwards requests or includes resources via RequestDispatcher without proper validation, allowing attackers to bypass security restrictions.

What to do

An attacker could gain unauthorized access to sensitive areas of your application, potentially leading to data breaches, system manipulation, or even full control over your application. This vulnerability makes it terrifyingly easy for malicious users to bypass all authentication safeguards, resulting in absolute chaos! Upgrade Apache Shiro to version 1.10.0 or later immediately to patch this vulnerability. Additionally, audit your configuration to ensure that proper checks are in place for all forwards and includes to keep those sneaky guests out! You've got this! Fixing this issue will significantly strengthen your security fortress! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.03591 · 89.4th percentile
Weakness
CWE-287 · Improper Authentication
Published
2022-10-12T00:00Z
EPSS history
Timeline
  • 12 OCT 00:00Z
    Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher
    cvelistv5