Mauticに認証済みユーザーからサーバー上でコードを実行される脆弱性
概要
Mauticのテーマ描画の仕組みに、サンドボックスを回避してサーバー上で任意のコードを実行されるおそれのある脆弱性が見つかりました。テーマを作成する権限を持つ認証済みユーザーが悪用できるとされ、影響を受けるのはmautic/coreの1.3.0以降5.2.12未満、6.0.0以降6.0.10未満、7.0.0以降7.2.2未満です。修正版は5.2.12、6.0.10、7.2.2で、利用中の版に応じて早めに修正版へ更新してください。
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Mauticのテーマ描画の仕組みに、サンドボックスを回避してサーバー上で任意のコードを実行されるおそれのある脆弱性が見つかりました。テーマを作成する権限を持つ認証済みユーザーが悪用できるとされ、影響を受けるのはmautic/coreの1.3.0以降5.2.12未満、6.0.0以降6.0.10未満、7.0.0以降7.2.2未満です。修正版は5.2.12、6.0.10、7.2.2で、利用中の版に応じて早めに修正版へ更新してください。
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| https://packagist.org | mautic/core |
1.3.0 以上 5.2.12 未満 6.0.0 以上 6.0.10 未満 7.0.0 以上 7.2.2 未満 |
5.2.12 6.0.10 7.2.2 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
A server-side template injection vulnerability exists in the Twig theme rendering sandbox of Mautic. The sandbox introduced to restrict user-uploaded theme templates (the fix for GHSA-9fx4-7cmj-47vg) does not fully enforce its restrictions, allowing a crafted theme template to escape the sandbox. An authenticated user with the core:themes:create permission can upload a malicious theme whose template is later rendered, resulting in execution of arbitrary code on the server with the privileges of the web server process. This allows the attacker to execute operating system commands, read server-side files including configuration files and database credentials, write files, and reach internal services. In default installations the core:themes:create permission is granted to the Administrator role, and in multi-operator setups it may be delegated to other roles. This is an incomplete fix for GHSA-9fx4-7cmj-47vg.
出典: CVE.org (CVE Program・cvelistV5) NVD