
Cette application a été conteneurisée et est vulnérable à la faille Spring4Shell (CVE-2022-22965). Le code source Java complet du war est disponible et modifiable ; il peut être reconstruit à chaque création de l'image Docker. Tomcat chargera ensuite le WAR créé. Cette application est un simple « hello world » basé sur les tutoriels Spring. Elle n'a rien d'exceptionnel à offrir.
docker build . -t spring4shell && docker run -p 8080:8080 spring4shellpython exploit.py --url "http://localhost:8080/helloworld/greeting"cmd pour vos commandes. (http://localhost:8080/shell.jsp par défaut)Un document est ajouté expliquant le détail complet de l'exploitation.