CVE-2023-34478CWE-22

Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks that route requests based on non-normalized requests.

Critical · published July 24, 2023

CVSS v3.1
9.8
EPSS
2%
Percentile
81.3
In the wild
Unconfirmed
What it is

🚨 A sneaky path traversal vulnerability lurks in Apache Shiro, leading to potential authentication bypass for versions before 1.12.0 or 2.0.0-alpha-3! 🔥 Think of it like a delivery driver following an ambiguous address, ending up at your neighbor's house instead of yours — the correct destination is lost in translation! An attacker could cleverly exploit this flaw to bypass authentication entirely, gaining access to sensitive areas of your application as if they had the right key. This could lead to unauthorized data exposure or even full control over accounts, making it a critical threat that simply cannot be ignored!

Put simply

Think of it like a delivery driver following an ambiguous address, ending up at your neighbor's house instead of yours — the correct destination is lost in translation! This vulnerability arises from the way Apache Shiro processes non-normalized requests, allowing attackers to manipulate paths and bypass authentication mechanisms. When combined with other web frameworks, the exploit becomes significantly easier to execute.

What to do

An attacker could cleverly exploit this flaw to bypass authentication entirely, gaining access to sensitive areas of your application as if they had the right key. This could lead to unauthorized data exposure or even full control over accounts, making it a critical threat that simply cannot be ignored! To mitigate this threat, immediately update your Apache Shiro to version 1.12.0 or 2.0.0-alpha-3 or higher. Additionally, review and harden your application's routing rules to ensure requests are properly normalized before processing. You've got this! Follow these steps, and you'll be on your way to securing your application in no time! 🛡️

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.02074 · 81.3th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2023-07-24T18:24Z
EPSS history
Timeline
  • 24 JUL 18:24Z
    Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks that route requests based on non-normalized requests.
    cvelistv5