DataBinding2Shell: Novel Pathways to RCE Web Frameworks
summary
Researchers analyze data binding across Spring, Struts, Grails, Rails and others, report many bugs and 2 lead to remote code execution. They reverse-engineer Spring’s DataBinder and show a Java 9 module getModule bypass of a decade-old blacklist, plus classloader manipulation to load remote classes, Tomcat/GlassFish log-to-JSP tricks to write and execute payloads, and Groovy UCP/charset remote class loading. Defenses they test: prefer whitelists over blacklists, avoid dangerous dynamic language features and lock down resource/classloader access.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 0:29Data Binding Overview
- 2:20Security Risks
- 4:44Spring Binding Mechanisms
- 7:33Spring Property Analysis
- 11:40Exploiting Spring Framework
- 15:16Framework Comparisons
- 18:24Language Feature Exploits
- 22:55Type Conversion Issues
- 25:55Tomcat & Classloader Attacks
- 30:43Remote Class Loading
- 34:09Defense and Conclusions
related talks
24mSecurity – only developers can make it proactive
48mA Journey From JNDI/LDAP Manipulation to Remote Code Execution Dream Land
43mLive hacking: Breaking into your Java web app
46mWhen a framework dies… A case study of CVE-2018-12533
02h 38mJava application security the hard way - a workshop for the serious developer
01h 06mLive hacking: Breaking into your Java web app
48mThe Hidden Security Hazards in Your Java Stack
42mModern web application bugs
