| 标题 | antlr ANTLR4 4.13.2 Code Injection |
|---|
| 描述 | ANTLR4 grammar files (.g4) support embedded action blocks — @header { }, @members { }, @init { }, @after { }, and inline { } actions — that are injected verbatim and without sanitization into the generated source code. Any system that accepts .g4 files from untrusted sources and compiles/executes the generated output is fully compromised. The attack requires no special privileges; a single .g4 file causes Remote Code Execution upon class loading. |
|---|
| 来源 | ⚠️ https://github.com/wooyun123/wooyun/issues/4 |
|---|
| 用户 | jiazhou (UID 89028) |
|---|
| 提交 | 2026-05-27 10時49分 (5 月前) |
|---|
| 管理 | 2026-06-27 20時28分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 374495 [antlr ANTLR4 直到 4.13.2 Grammar Action Block OutputFile.java 权限提升] |
|---|
| 积分 | 20 |
|---|