Access Restriction Bypass Affecting net.sourceforge.plantuml:plantuml package, versions [,1.2023.9)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (37th 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 Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-NETSOURCEFORGEPLANTUML-5741890
  • published28 Jun 2023
  • disclosed27 Jun 2023
  • creditZhang Zeyu

Introduced: 27 Jun 2023

CVE-2023-3431  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade net.sourceforge.plantuml:plantuml to version 1.2023.9 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass that allows attackers to read files on the server using %load_json, when ALLOW_PLANTUML_INCLUDE=false is set (the default).

PoC

@startuml
Bob -> Alice : %load_json("/var/lib/jetty/test.json")
@enduml

References

CVSS Base Scores

version 3.1