| タイトル | spaceapplicationsのyamcsにおける複数の脆弱性 |
|---|---|
| 概要 | Yamcsはミッションコントロールフレームワークです。5.12.7以前のバージョンでは、yamcs-core/src/main/java/org/yamcs/algorithms/ScriptAlgorithmExecutorFactory.java内でユーザー提供のJavaScriptアルゴリズムテキストを評価するために使用されていたNashorn ScriptEngineがClassFilterなしで構築されていました。そのため、ChangeMissionDatabase権限を持つユーザーはMdbOverrideApi.updateAlgorithmエンドポイントを通じてアルゴリズムを上書きし、Java.type("java.lang.Runtime").getRuntime().exec(...)のように任意のJavaクラスにアクセスするJavaScriptを提供することで、Yamcsプロセスとして任意のOSコマンドを実行できました。デフォルト設定でsecurity.yamlが存在しない場合、組み込みのguestユーザーはsuperuser=trueとなっているため、認証なしで問題が発生する可能性があります。この問題は、アルゴリズムの編集をデフォルトで無効にしたバージョン5.12.7および5.13.0で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年7月16日0:00 |
| 登録日 | 2026年7月22日10:19 |
| 最終更新日 | 2026年7月22日10:19 |
| CVSS3.0 : 緊急 | |
| スコア | 9.8 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| spaceapplications |
| yamcs 5.12.7 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年07月22日] 掲載 |
2026年7月22日10:19 |
| 概要 | Yamcs is a mission control framework. Prior to 5.12.7, the Nashorn ScriptEngine used to evaluate user-supplied JavaScript algorithm text in yamcs-core/src/main/java/org/yamcs/algorithms/ScriptAlgorithmExecutorFactory.java was constructed without a ClassFilter, so a user with the ChangeMissionDatabase privilege could override an algorithm through the MdbOverrideApi.updateAlgorithm endpoint and supply JavaScript that reaches arbitrary Java classes (for example Java.type("java.lang.Runtime").getRuntime().exec(...)) to execute arbitrary OS commands as the Yamcs process; in the default configuration with no security.yaml the built-in guest user has superuser=true, making the issue reachable without authentication. This issue is fixed in versions 5.12.7 and 5.13.0, which disable algorithm editing by default. |
|---|---|
| 公表日 | 2026年7月17日2:16 |
| 登録日 | 2026年7月17日4:27 |
| 最終更新日 | 2026年7月20日10:53 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:spaceapplications:yamcs:*:*:*:*:*:*:*:* | 5.12.7 | ||||