Open Redirect Affecting org.glassfish.main.admin:rest-service package, versions [,7.0.17)


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.04% (16th 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 Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGGLASSFISHMAINADMIN-8132098
  • published30 Sept 2024
  • disclosed30 Sept 2024
  • creditMarta Rybczynska

Introduced: 30 Sep 2024

CVE-2024-9329  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade org.glassfish.main.admin:rest-service to version 7.0.17 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect in the RestManagementAdapter class, accessible via the /management/domain endpoint. An attacker can modify the Host parameter to contain an arbitrary URL that they control, to exfiltrate data from a user.

PoC

GET /management/domain HTTP/1.1
Host: google.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101
Firefox/115.0
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/
*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Connection: close
Upgrade-Insecure-Requests: 1

CVSS Scores

version 4.0
version 3.1