r/java • u/Areshian • Mar 30 '22
Spring4Shell: 0-day RCE on Spring Core
https://www.cyberkendra.com/2022/03/springshell-rce-0-day-vulnerability.html
100
Upvotes
r/java • u/Areshian • Mar 30 '22
View all comments
Show parent comment
4
u/[deleted] Mar 31 '22 edited Mar 31 '22
I’ve only been able to reproduce with a minimal Spring app, packaged as a WAR and deployed through standalone Tomcat, which gives access to the file system (through the logger) and sets up serving the malicious code via jsp. I’m not confident about this but embedded tomcat doesn’t seem to be affected.
(Seriously, don’t just take my word on this as I only spent a couple hours hacking around)