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

    Threat Intelligence

    EPSS
    0.04% (11th 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 ID SNYK-JAVA-ORGAPACHESHIRO-6156658
  • published 15 Jan 2024
  • disclosed 12 Jan 2024
  • credit Unknown

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
Expand this section

Snyk

Recommended
5.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

6.5 medium