
Demonstrable Proof of Concept Exploit for Spring4Shell Vulnerability (CVE-2022-22965)
class.classLoader and class.protectionDomainclass.getMethod(), which bypasses that restriction by using to access any child property of class objectclass.module.classLoaderdocker build . -t spring4shell-poc-app
Else get the docker image from [gokul2/spring4shell-poc]
docker pull gokul2/spring4shell-poc-app
docker run -p 8080:8080 spring4shell-poc-app