Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2023-34478 EUVD-2023-2115GHSA-pmhc-2g4f-85cg

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.

Published Jul 24, 2023 · Updated Feb 13, 2025 · Assigned by apache

Description

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

Mitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Shiro < 1.12.0, < 2.0.0-alpha-3 1.12.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 shiro No fix yet —
Debian 13 shiro No fix yet —
Debian 12 shiro No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS shiro No fix yet —
Ubuntu 20.04 LTS shiro No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS shiro 1.3.2-5ubuntu0.24.04.1~esm1 USN-7147-1
Ubuntu Pro 18.04 LTS shiro No fix yet —
Ubuntu Pro 16.04 LTS shiro 1.2.4-1ubuntu0.1~esm2 USN-7147-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.shiro:shiro-web < 1.12.0 1.12.0 GHSA-pmhc-2g4f-85cg
Maven org.apache.shiro:shiro-web >= 2.0.0-alpha-1, < 2.0.0-alpha-3 2.0.0-alpha-3 GHSA-pmhc-2g4f-85cg

Advisories 3

References