NVD Vulnerability Detail
Search Exploit, PoC
CVE-2014-1624
Summary

Race condition in the xdg.BaseDirectory.get_runtime_dir function in python-xdg 0.25 allows local users to overwrite arbitrary files by pre-creating /tmp/pyxdg-runtime-dir-fallback-victim to point to a victim-owned location, then replacing it with a symlink to an attacker-controlled location once the get_runtime_dir function is called.

Publication Date Jan. 28, 2014, 9:55 a.m.
Registration Date Jan. 26, 2021, 3:07 p.m.
Last Update Nov. 21, 2024, 11:04 a.m.
CVSS2.0 : LOW
Score 3.3
Vector AV:L/AC:M/Au:N/C:N/I:P/A:P
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:python:pyxdg:0.25:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
python-xdg の xdg.BaseDirectory.get_runtime_dir 関数における任意のファイルを上書きされる脆弱性
Title python-xdg の xdg.BaseDirectory.get_runtime_dir 関数における任意のファイルを上書きされる脆弱性
Summary

python-xdg の xdg.BaseDirectory.get_runtime_dir 関数には、競合状態により、任意のファイルを上書きされる脆弱性が存在します。

Possible impacts ローカルユーザにより、攻撃される側が所有するロケーションを指すように /tmp/pyxdg-runtime-dir-fallback-victim を事前に作成され、その後、get_runtime_dir 関数が呼び出された時点で、攻撃者が制御するロケーションへのシンボリックリンクで置き換えられることで、任意のファイルを上書きされる可能性があります。 
Solution

ベンダ情報および参考情報を参照して適切な対策を実施してください。

Publication Date Jan. 21, 2014, midnight
Registration Date Jan. 30, 2014, 9:59 a.m.
Last Update Jan. 30, 2014, 9:59 a.m.
Affected System
Thomas Kluyver
PyXDG 0.25
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2014年01月30日]
  掲載
Feb. 17, 2018, 10:37 a.m.