WaratekVRT Sign in

CVE-2023-34478 Apache Shiro

Affected softwareApache Shiro
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in1.12.0, 2.0.0-alpha-3
WeaknessPath traversal (CWE-22)
Published24 Jul 2023
Updated17 Jun 2026

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+

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. 1 citation · earliest 2023-07-26.
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 2.1% chance in 30 days

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2023-34478 in VulnCheck (free account).

EvidenceSourceDetailDate
Reported exploitation sosintel.co.uk /flash-alert-cves-of-note-being-exploited-in-the-wild 2023-07-26

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2023-34478

Upgrade Apache Shiro to a release that fixes it: 1.12.0 or 2.0.0-alpha-3. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.shiro:shiro-web 0 1.12.0 unbounded
org.apache.shiro:shiro-web 2.0.0-alpha-1 2.0.0-alpha-3 unbounded

Products and versions

2 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd apache shiro generic < 1.12.0 · 2.0.0:alpha1 · 2.0.0:alpha2
osv org.apache.shiro shiro-web generic < 1.12.0 · ≥ 2.0.0 and < 2.0.0

References

URLTags
https://github.com/apache/shiro/commit/c3ede3f94efb442acb0795714a022c2c121d1da0 WEB
https://github.com/apache/shiro PACKAGE
https://lists.apache.org/thread/mbv26onkgw9o35rldh7vmq11wpv2t2qk WEB
https://security.netapp.com/advisory/ntap-20230915-0005 WEB
http://www.openwall.com/lists/oss-security/2023/07/24/4 WEB
https://security.netapp.com/advisory/ntap-20230915-0005/

Timeline

Published2023-07-24By the CVE Program.
VulnCheck KEV: earliest evidence2023-07-26Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-06-17NVD's own last-modified date for this record.