
Proof-of-concept exploit for CVE-2022-22965 in Payara/Glassfish, demonstrating arbitrary file download via web root manipulation. Includes Docker setup and exploit script.
Minimal example of how to reproduce CVE-2022-22965 Spring vulnerability in Payara/Glassfish.
Alternative payload for Payara/Glassfish that allows the malicious user to set an arbitrary web root, leading to arbitrary file download.
docker-compose up --build
./exploits/run.sh
The exploit requires Java 9 or above because module property was added in Java 9.