
Cloud Vulnerability DB
コミュニティ主導の脆弱性データベース
The host resource detector in open-telemetry/sdk runs a helper program to read the machine ID on
macOS, Windows and BSD. It runs that program through a shell, by name, so the shell looks it up on
PATH. On Windows it also looks in the current directory. A program with the same name placed
earlier in that search runs instead, as the user running PHP, and its output becomes host.id.
The detector is enabled by default, and runs each time the SDK builds its default resource. With
OTEL_PHP_AUTOLOAD_ENABLED=true that is once per request.
ioreg and awk. Replacing either one is enough.powershell.exe. A file with that name in a directory on
PATH, or in the working directory of the PHP process, runs instead./etc/hostid is missing or unreadable. The detector
then runs which and kenv. A default FreeBSD install creates /etc/hostid at boot, so this
mostly applies to jails and to read-only or diskless systems./etc/machine-id and runs no program. This includes PHP in Docker on
a macOS or Windows host, because the container runs Linux.OTEL_PHP_DETECTORS lists detectors without host.host under resource.detection/development.detectors.The attacker needs to put a file in a directory that is searched before the system directory.
Usually that is a directory on the PHP process's PATH. On Windows the process's working
directory also counts. The attacker gains something only when PHP runs as a different, more
privileged account than their own. An account that can already write to those directories as the
PHP user can usually replace other programs or the application itself.
This is mostly a risk for developer machines, shared build hosts and self-hosted CI runners, not
production servers.
Fixed in <version>. The detector runs /usr/sbin/ioreg, /bin/kenv and
%SystemRoot%\System32\reg.exe by absolute path, without a shell, as the semantic conventions
require.
Set OTEL_PHP_DETECTORS to a list without host, for example OTEL_PHP_DETECTORS=process.
With declarative configuration, leave host out of resource.detection/development.detectors.
ソース: NVD
無料脆弱性評価
9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。
パーソナライズされたデモを見る
"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"