Gửi #792385: sanluan PublicCMS V4.0.202506.a, V4.0.202506.b, V5.202506.a, V5.202506.b, V5.202506.d, V6.202506.d Code Injectionthông tin

tiêu đềsanluan PublicCMS V4.0.202506.a, V4.0.202506.b, V5.202506.a, V5.202506.b, V5.202506.d, V6.202506.d Code Injection
Mô tảPublicCMS versions V4.0, V5 (through V5.202506.d), and V6 (through V6.202506.d) are vulnerable to a Server-Side Template Injection (SSTI) that leads to Remote Code Execution (RCE). The AbstractFreemarkerView.doRender() method does not sanitize the Application (ServletContext) variable exposed to FreeMarker templates. An authenticated admin user can access the Spring ApplicationContext via Application["org.springframework.web.context.WebApplicationContext.ROOT"], retrieve the FreeMarker Configuration object, disable the new_builtin_class_resolver security restriction at runtime, and execute arbitrary operating system commands via freemarker.template.utility.Execute. A secondary bypass path exists through HttpRequestHashModel.get(), which passes request.getAttribute() calls without filtering, allowing access to the ApplicationContext via Spring DispatcherServlet internal attributes.
Nguồn⚠️ https://github.com/sanluan/PublicCMS/issues/113
Người dùng
 anch0r (UID 96691)
Đệ trình29/03/2026 14:11 (cách đây 6 các tháng)
Kiểm duyệt09/04/2026 14:27 (11 days later)
Trạng tháiđược chấp nhận
Mục VulDB356541 [Sanluan PublicCMS đến 6.202506.d FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender nâng cao đặc quyền]
điểm20

Interested in the pricing of exploits?

See the underground prices here!