Skip to content
High 7.3

linux-pamのpam_econfに権限昇格の脆弱性、ローカルの攻撃者が管理者権限を得るおそれ

CVE-2026-137898 First seen on SecPulse

Summary

linux-pamのpam_econfは、libeeconfを使い、ベンダーディレクトリが未設定のままビルドされた場合に、カレントディレクトリ内の相対パスの設定ファイルを読み込んでしまいます。ローカルの攻撃者が世界書き込み可能な場所に細工した環境設定ファイルを置き、管理者がそのディレクトリから特権コマンドを実行すると、権限が昇格するおそれがあります。CVSSは7.3です。修正版の情報は、最新の情報を確認してください。

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.

linux-pamのpam_econfは、libeeconfを使い、ベンダーディレクトリが未設定のままビルドされた場合に、カレントディレクトリ内の相対パスの設定ファイルを読み込んでしまいます。ローカルの攻撃者が世界書き込み可能な場所に細工した環境設定ファイルを置き、管理者がそのディレクトリから特権コマンドを実行すると、権限が昇格するおそれがあります。CVSSは7.3です。修正版の情報は、最新の情報を確認してください。

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

A flaw was found in pam. When built with libeconf and an unconfigured vendor directory, the pam_econf configuration handler misinterprets the search path, causing it to look for configuration files in a relative directory within the current working directory. A local attacker can exploit this by placing crafted environment configuration files in a world-writable location. If an administrator executes a privileged command from that directory, the malicious variables are loaded into the privileged process, resulting in local privilege escalation.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details