جزئیات آسیبپذیری
CVE-2026-55559
Yamcs: Remote Code Execution via instance-template argument YAML injection (createInstance)
شرح رسمی (انگلیسی)
Yamcs is a mission control framework. Prior to 5.12.8 and 5.13.2, Yamcs inserts templateArgs from POST /api/instances and PATCH /api/instances/{instance} into YAML through VarStatement.append in yamcs-core/src/main/java/org/yamcs/templating/VarStatement.java without YAML-context escaping. The rendered configuration is parsed by YamcsServer.createInstance and loaded by YamcsServerInstance, allowing an attacker to inject a services entry for org.yamcs.ProcessRunner. Deployments without security.yaml expose the operation through the guest superuser, while secured deployments require SystemPrivilege.CreateInstances. Successful exploitation executes commands as the Yamcs service account. This issue is fixed in versions 5.12.8 and 5.13.2.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 9.8بحرانی | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| yamcs | yamcs | < 5.12.8 | CVEProject cvelistV5 (CNA) |
| yamcs | yamcs | >= 5.13.0, < 5.13.2 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۵- https://github.com/yamcs/yamcs/commit/549f295cf8c5496a5e799d6bec2432ef976c82aa x_refsource_MISC
- https://github.com/yamcs/yamcs/commit/7192da1c49bdf5ab1d72e579a47766a7c43e87c8 x_refsource_MISC
- https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.8 x_refsource_MISC
- https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.2 x_refsource_MISC
- https://github.com/yamcs/yamcs/security/advisories/GHSA-73mf-m39p-wpm9 x_refsource_CONFIRM
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۶/۰۶
- آخرین بهروزرسانی
- ۱۴۰۵/۰۶/۰۶
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- بله
- وضعیت بهرهبرداری
- اثبات مفهوم
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-94Improper Control of Generation of Code ('Code Injection')
- CWE-470Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
- CWE-1336Improper Neutralization of Special Elements Used in a Template Engine