製品・ソフトウェアに関する情報
setroubleshoot の util.py の get_rpm_nvr_by_file_path_temporary 関数における任意のコマンドを実行される脆弱性
Title setroubleshoot の util.py の get_rpm_nvr_by_file_path_temporary 関数における任意のコマンドを実行される脆弱性
Summary

setroubleshoot の util.py の get_rpm_nvr_by_file_path_temporary 関数には、任意のコマンドを実行される脆弱性が存在します。 補足情報 : CWE による脆弱性タイプは、CWE-77: Improper Neutralization of Special Elements used in a Command (コマンドインジェクション) と識別されています。 http://cwe.mitre.org/data/definitions/77.html

Possible impacts 第三者により、ファイル名のシェルのメタ文字を介して、任意のコマンドを実行される可能性があります。
Solution

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

Publication Date March 26, 2015, midnight
Registration Date April 2, 2015, 5:19 p.m.
Last Update April 2, 2015, 5:19 p.m.
CVSS2.0 : 危険
Score 10
Vector AV:N/AC:L/Au:N/C:C/I:C/A:C
Affected System
SELinux
setroubleshoot 3.2.22 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2015年04月02日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2015-1815
Summary

The get_rpm_nvr_by_file_path_temporary function in util.py in setroubleshoot before 3.2.22 allows remote attackers to execute arbitrary commands via shell metacharacters in a file name.

Publication Date March 30, 2015, 11:59 p.m.
Registration Date Jan. 26, 2021, 2:46 p.m.
Last Update Nov. 21, 2024, 11:26 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:selinux:setroubleshoot:*:*:*:*:*:*:*:* 3.2.21
Configuration2 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List