Mauticに認証済みユーザーからサーバー上でコードを実行される脆弱性
Summary
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 summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
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で、利用中の版に応じて早めに修正版へ更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| 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 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD