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

11 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

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 Apache Shiro to a version that resolves this vulnerability.

    Fixed in 1.13.0
  7. Upgrade

    Upgrade Apache Shiro to a version that resolves this vulnerability.

    Fixed in 2.0.0-alpha-4
  8. 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 NVD·10:15 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·12:30 PM
Dec 10, 2024
Data Sourced
via Launchpad·08:12 PM
Description
Dec 14, 2024
Data Sourced
via Ubuntu·08:11 PM
RemedyDescriptionSeverityAffected Software
Jul 6, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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