Latteにサンドボックス回避の脆弱性、OSコマンドを実行されるおそれ
Summary
Latteの3.1.10までの版に、テンプレートの作成者が|mapと|filterフィルターを使ってサンドボックスを回避し、任意のPHP関数を呼び出せる脆弱性が見つかりました。systemなどの関数名を指定すると、Webアプリケーションの権限でOSコマンドが実行されるおそれがあります。修正版の情報は公開されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Latteの3.1.10までの版に、テンプレートの作成者が|mapと|filterフィルターを使ってサンドボックスを回避し、任意のPHP関数を呼び出せる脆弱性が見つかりました。systemなどの関数名を指定すると、Webアプリケーションの権限でOSコマンドが実行されるおそれがあります。修正版の情報は公開されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| netteLatte |
≤ 3.1.10→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Latte through 3.1.10 contains a sandbox bypass vulnerability that allows template authors to call arbitrary PHP functions by passing string callables to the |map and |filter filters. Attackers can supply a function name like system as a callable, which RuntimeChecker::args() does not check against allowFunctions(), to execute operating system commands with web application privileges.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com