Path traversal in Apache Shiro
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.
Summary
Apache Shiro before 1.13.0 or 2.0.0-alpha-4, may be susceptible to a path traversal attack that results in an authentication bypass when used together with path rewriting Mitigation: Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+, or ensure `blockSemicolon` is enabled (this is the default).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Shiro | before 1.13.0; 2.0.0-alpha-1 to before 2.0.0-alpha-4 | 1.13.0, 2.0.0-alpha-4 | Patch available | CNA |
| — | org.apache.shiro:shiro-core (Maven) | before 1.13.0 | 1.13.0 | Patch available | GHSA-jc7h-c423-mpjc |
| — | org.apache.shiro:shiro-core (Maven) | 2.0.0alpha1 to before 2.0.0-alpha4 | 2.0.0-alpha4 | Patch available | GHSA-jc7h-c423-mpjc |
- Apache Shiro VendorApache Affected before 1.13.0; 2.0.0-alpha-1 to before 2.0.0-alpha-4 Fixed in 1.13.0, 2.0.0-alpha-4 Patch available CNA
- org.apache.shiro:shiro-core (Maven) Vendor— Affected before 1.13.0 Fixed in 1.13.0 Patch available GHSA-jc7h-c423-mpjc
- org.apache.shiro:shiro-core (Maven) Vendor— Affected 2.0.0alpha1 to before 2.0.0-alpha4 Fixed in 2.0.0-alpha4 Patch available GHSA-jc7h-c423-mpjc
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* | before 1.13.0 | Vulnerable | Apache |
| cpe:2.3:a:apache:shiro:2.0.0:alpha1:*:*:*:*:*:* | 2.0.0 alpha1 | Vulnerable | Apache |
| cpe:2.3:a:apache:shiro:2.0.0:alpha2:*:*:*:*:*:* | 2.0.0 alpha2 | Vulnerable | Apache |
| cpe:2.3:a:apache:shiro:2.0.0:alpha3:*:*:*:*:*:* | 2.0.0 alpha3 | Vulnerable | Apache |
- cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* Versions before 1.13.0 Vulnerable ·Apache
- cpe:2.3:a:apache:shiro:2.0.0:alpha1:*:*:*:*:*:* Versions 2.0.0 alpha1 Vulnerable ·Apache
- cpe:2.3:a:apache:shiro:2.0.0:alpha2:*:*:*:*:*:* Versions 2.0.0 alpha2 Vulnerable ·Apache
- cpe:2.3:a:apache:shiro:2.0.0:alpha3:*:*:*:*:*:* Versions 2.0.0 alpha3 Vulnerable ·Apache
Remediation
- Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 1.13.0, 2.0.0-alpha-4
- Fix · GHSA-jc7h-c423-mpjc org.apache.shiro:shiro-core (Maven) Fixed in 1.13.0 Advisory →
- Fix · GHSA-jc7h-c423-mpjc org.apache.shiro:shiro-core (Maven) Fixed in 2.0.0-alpha4 Advisory →
Red Hat 1 advisory
- RHSA-2024:3354 Released 2024-05-23 · Red Hat rating ImportantRed Hat Fuse 7.13.0 release and security update
- Red Hat Fuse 7.13.0
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Apache Camel for Spring Boot 3 | Affected | No fix planned: Out of support scope |
| Red Hat Fuse 7.13.0 | Fixed | RHSA-2024:3354 |
Not affected: 6 products
- Red Hat Integration Camel K 1
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat build of Apache Camel for Spring Boot 4
- Red Hat build of Quarkus
Timeline
- 2026-10-02 Threatist record created from CVE-2023-46749
- 2026-10-03 Alias added: GHSA-jc7h-c423-mpjc
References
More Apache Shiro vulnerabilities
- TI-2016-03813 Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember… KEVCVSS 3.1CRITICAL 9.8
- TI-2020-13272 Improper authentication in Apache Shiro CVSS 3.1CRITICAL 9.8
- TI-2021-18132 Improper authentication in Apache Shiro CVSS 3.1CRITICAL 9.8
- TI-2022-14167 Authentication bypass in Apache Shiro CVSS 3.1CRITICAL 9.8
- TI-2020-09649 Improper authentication in Apache Shiro CVSS 3.1CRITICAL 9.8
- TI-2020-10910 Apache Shiro before 1.6.0, when using Apache Shiro, a specially crafted HTTP request may cause an authentication bypass. CVSS 3.1HIGH 7.5
Sources
- CVE-2023-46749 · CVE Program
- CVE-2023-46749 · NVD
- FIRST EPSS
- GHSA-jc7h-c423-mpjc · GitHub Advisory Database · CC BY 4.0
- CVE-2023-46749 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences