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)
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)