Path Traversal Affecting org.apache.shiro:shiro-web package, versions [,1.13.0)[2.0.0-alpha-1,2.0.0-alpha-4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHESHIRO-6156658
  • published15 Jan 2024
  • disclosed12 Jan 2024
  • creditUnknown

Introduced: 12 Jan 2024

CVE-2023-46749  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-288  (opens in a new tab)

How to fix?

Upgrade org.apache.shiro:shiro-web to version 1.13.0, 2.0.0-alpha-4 or higher.

Overview

org.apache.shiro:shiro-web is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management.

Affected versions of this package are vulnerable to Path Traversal via the path rewriting feature. An attacker can bypass authentication controls by exploiting the path traversal flaw.

Workaround

This flaw can be mitigated by making sure blockSemicolon is enabled. Thus, the CVSS AC is High.

CVSS Scores

version 3.1