漏洞描述
Grails 框架支持data-binding,攻击者可构造恶意请求利用该机制获取到相关的 class loader,从而可执行任意代码控制服务器。
安全版本:
5.2.1
5.1.9
4.1.1
3.3.15
解决建议
升级至安全版本。
参考链接
http://www.openwall.com/lists/oss-security/2022/07/20/4
https://docs.grails.org/latest/guide/theWebLayer.html#dataBinding
https://github.com/grails/grails-core/issues/12626
https://github.com/grails/grails-core/security/advisories/GHSA-6rh6-x8ww-9h97
https://grails.org/blog/2022-07-18-rce-vulnerability.html