製品・ソフトウェアに関する情報
Ubuntu 上で稼動する libpam-modules の pam_motd における権限を取得される脆弱性
Title Ubuntu 上で稼動する libpam-modules の pam_motd における権限を取得される脆弱性
Summary

Ubuntu 上で稼動する libpam-modules の pam_motd (別名 MOTD モジュール) には、"session optional pam_motd.so" のような特定の設定を使用する場合、検索パスに関する処理に不備があるため、権限を取得される脆弱性が存在します。 補足情報 : CWE による脆弱性タイプは、CWE-426: Untrusted Search Path (信頼性のない検索パス) と識別されています。 http://cwe.mitre.org/data/definitions/426.html

Possible impacts ローカルユーザにより、悪意のあるコマンドを参照するように PATH 環境変数を変更されることで、権限を取得される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Oct. 24, 2011, midnight
Registration Date April 21, 2014, 11:37 a.m.
Last Update April 21, 2014, 11:37 a.m.
CVSS2.0 : 警告
Score 6.9
Vector AV:L/AC:M/Au:N/C:C/I:C/A:C
Affected System
Canonical
libpam-modules 0.99.7.1-5ubuntu6.5 未満 (8.04 LTS)
libpam-modules 1.1.1-2ubuntu5.4 未満 (Ubuntu 10.04 LTS)
libpam-modules 1.1.1-4ubuntu2.4 未満 (Ubuntu 10.10)
libpam-modules 1.1.2-2ubuntu8.4 未満 (Ubuntu 11.04)
libpam-modules 1.1.3-2ubuntu2.1 未満 (Ubuntu 11.10)
Ubuntu 10.04 LTS
Ubuntu 10.10
Ubuntu 11.04
Ubuntu 11.10
Ubuntu 8.04 LTS
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2014年04月21日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2011-3628
Summary

Untrusted search path vulnerability in pam_motd (aka the MOTD module) in libpam-modules before 1.1.3-2ubuntu2.1 on Ubuntu 11.10, before 1.1.2-2ubuntu8.4 on Ubuntu 11.04, before 1.1.1-4ubuntu2.4 on Ubuntu 10.10, before 1.1.1-2ubuntu5.4 on Ubuntu 10.04 LTS, and before 0.99.7.1-5ubuntu6.5 on Ubuntu 8.04 LTS, when using certain configurations such as "session optional pam_motd.so", allows local users to gain privileges by modifying the PATH environment variable to reference a malicious command, as demonstrated via uname.

Publication Date April 16, 2014, 8:55 a.m.
Registration Date Jan. 28, 2021, 4:39 p.m.
Last Update Nov. 21, 2024, 10:30 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:canonical:ubuntu_linux:10.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:8.04:-:lts:*:*:*:*:*
cpe:2.3:a:canonical:libpam-modules:1.1.3:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:*
cpe:2.3:a:canonical:libpam-modules:1.1.1:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:*
cpe:2.3:a:canonical:libpam-modules:1.1.2:*:*:*:*:*:*:*
cpe:2.3:a:canonical:libpam-modules:0.9.7:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List