| Title | dromara lamp-cloud releases Injection |
|---|
| Description | dromara lamp-cloud contains a stored injection vulnerability where message template content is stored via JPA and later evaluated as Groovy code or FreeMarker templates. Three independent attack surfaces allow RCE:
DefMsgTemplate.script → Groovy RCE: The script field in message templates is evaluated via GroovyClassLoader.parseClass() + InvokerHelper.createScript().run()
DefMsgTemplate.content → FreeMarker SSTI: The content field is processed by FreeMarker with BeansWrapper providing static model access
DefInterface.script → Groovy RCE: Interface definitions with execMode=SCRIPT evaluate Groovy code with Spring bean injection |
|---|
| Source | ⚠️ https://github.com/Ku4D3/bug_story/blob/main/report_02.md |
|---|
| User | Ku4D3 (UID 97639) |
|---|
| Submission | 04/27/2026 12:53 (3 months ago) |
|---|
| Moderation | 05/25/2026 11:53 (28 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 365481 [Dromara lamp-cloud up to 5.6.2 Message Template GroovyClassLoader.parseClass DefMsgTemplate.content special elements used in a template engine] |
|---|
| Points | 20 |
|---|