| 제목 | https://gitee.com/chunyu-cms/chunyu-cms/ chunyu-cms 1.0 Code Injection |
|---|
| 설명 | The scheduled job module of chunyu-cms allows the `invokeTarget` field to specify a call target of the form `serviceName.method(arguments)`. When parsing this field, `JobService.analysisinvokeTarget` passes the parenthesized argument portion directly into `eval()` for evaluation, then retrieves any registered service from the DI container by name via `moduleRef.get(serviceName, { strict: false })` and invokes its method reflectively.
Because `eval` executes arbitrary JavaScript expressions in the argument portion and the reflective invocation places no restriction on the target service or method, an administrator holding the `monitor:job:add` permission can execute arbitrary JavaScript on the server and invoke any public method of any service in the DI container. |
|---|
| 원천 | ⚠️ https://github.com/bkglfpp/CVE-md/blob/main/chunyu-cms-main/scheduled-job-eval-code-injection.md |
|---|
| 사용자 | youran (UID 89737) |
|---|
| 제출 | 2026. 11. 02. PM 09:51 (1 월 ago) |
|---|
| 모더레이션 | 2026. 12. 04. AM 07:45 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 449610 [yinMrsir chunyu-cms 까지 1.1.0 Monitor Job job.service.ts JobService.analysisinvokeTarget 권한 상승] |
|---|
| 포인트들 | 20 |
|---|