CVE-2023-46749: 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

Published Jan 12, 2024
·
Updated

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).

Other sources

Apache Shiro before 1.130 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).

— GitHub

Affected Software

16 affected componentsFixes available
maven/org.apache.shiro:shiro-core>=2.0.0alpha1<2.0.0alpha4
2.0.0-alpha4
maven/org.apache.shiro:shiro-core<1.13.0
1.13.0
debian/shiro
1.3.2-4+deb11u11.3.2-5
Apache Shiro<1.13.0
Apache Shiro=2.0.0-alpha1
Apache Shiro=2.0.0-alpha2
Apache Shiro=2.0.0-alpha3
redhat/shiro<1.13.0
1.13.0
redhat/shiro 2.0.0-alpha<4
4
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.7.2.1 - 9.7.2.11
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.6.1.1 - 9.6.1.13
ubuntu/shiro*
ubuntu/shiro*
ubuntu/shiro*
ubuntu/shiro*
ubuntu/shiro<1.3.2-5ubuntu0.24.04.1~esm1
1.3.2-5ubuntu0.24.04.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.shiro:shiro-core to a version that resolves this vulnerability.

    Fixed in 2.0.0-alpha4
  2. Upgrade

    Upgrade maven/org.apache.shiro:shiro-core to a version that resolves this vulnerability.

    Fixed in 1.13.0
  3. Upgrade

    Upgrade debian/shiro to a version that resolves this vulnerability.

    Fixed in 1.3.2-4+deb11u1Fixed in 1.3.2-5
  4. Upgrade

    Upgrade redhat/shiro to a version that resolves this vulnerability.

    Fixed in 1.13.0
  5. Upgrade

    Upgrade redhat/shiro 2.0.0-alpha to a version that resolves this vulnerability.

    Fixed in 4
  6. Upgrade

    Upgrade ubuntu/shiro to a version that resolves this vulnerability.

    Fixed in 1.3.2-5ubuntu0.24.04.1~esm1
  7. Upgrade

    Upgrade Apache Shiro to a version that resolves this vulnerability.

    Fixed in 1.13.0
  8. Upgrade

    Upgrade Apache Shiro to a version that resolves this vulnerability.

    Fixed in 2.0.0-alpha-4
  9. Configuration

    Ensure `blockSemicolon` is enabled to mitigate CVE-2023-46749 path traversal/authentication bypass when using path rewriting.

    Apache Shiro blockSemicolon = enabled (default)

Event History

Jan 12, 2024
Data Sourced
via Red Hat·09:23 PM
DescriptionSeverityAffected Software
Jan 15, 2024
CVE Published
via MITRE·09:57 AM
Data Sourced
via MITRE·09:57 AM
DescriptionWeakness
Data Sourced
via OSV·10:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:15 AM
DescriptionWeakness
Advisory Published
via GitHub·12:30 PM
Data Sourced
via GitHub·12:30 PM
DescriptionWeaknessAffected Software
Jan 16, 2024
Advisory Published
via GitHub·08:34 PM
Jan 20, 2024
Updated
via MITRE·10:01 AM
Description
Updated
via NVD·10:15 AM
Description
Jan 22, 2024
Data Sourced
via NVD·08:22 PM
SeverityAffected Software
Data Sourced
via GitHub·09:32 PM
Severity
Event
via GitHub·09:32 PM
Jun 27, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·08:29 AM
Affected Software
Jun 3, 2025
Updated
via NVD·02:15 PM
SeverityWeaknessAffected Software
Nov 3, 2025
Updated
via NVD·10:16 PM
Affected Software
Jul 6, 2026
Updated
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2023-46749?

CVE-2023-46749 has a high severity due to the potential for authentication bypass through a path traversal attack.

2

How do I fix CVE-2023-46749?

To fix CVE-2023-46749, update to Apache Shiro version 1.13.0 or higher, or 2.0.0-alpha-4 or higher.

3

Which versions of Apache Shiro are affected by CVE-2023-46749?

Apache Shiro versions before 1.13.0 and 2.0.0-alpha-4 are affected by CVE-2023-46749.

4

What is a path traversal attack in the context of CVE-2023-46749?

In the context of CVE-2023-46749, a path traversal attack allows an attacker to bypass authentication by manipulating URL paths.

5

Is enabling blockSemicolon an effective mitigation for CVE-2023-46749?

Yes, enabling blockSemicolon can be an effective mitigation for CVE-2023-46749 if upgrading is not immediately possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203