製品・ソフトウェアに関する情報
Django の bin/compile-messages.py における任意のコマンドを実行される脆弱性
Title Django の bin/compile-messages.py における任意のコマンドを実行される脆弱性
Summary

Django の bin/compile-messages.py は、os.system 関数を通して msgfmt プログラムを呼び出す前に引数文字列を引用しないため、任意のコマンドを実行される脆弱性が存在します。

Possible impacts 攻撃者により、(1) .po ファイルまたは (2) .mo ファイル内のシェルメタキャラクタを介して、任意のコマンドを実行される可能性があります。
Solution

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

Publication Date Jan. 22, 2007, midnight
Registration Date June 26, 2012, 3:46 p.m.
Last Update June 26, 2012, 3:46 p.m.
CVSS2.0 : 危険
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected System
Django Software Foundation
Django 0.95
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年06月26日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2007-0404
Summary

bin/compile-messages.py in Django 0.95 does not quote argument strings before invoking the msgfmt program through the os.system function, which allows attackers to execute arbitrary commands via shell metacharacters in a (1) .po or (2) .mo file.

Publication Date Jan. 23, 2007, 9:28 a.m.
Registration Date Jan. 29, 2021, 2:05 p.m.
Last Update July 29, 2017, 10:30 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:django_project:django:0.95:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List