Skip to content

CVE-2007-0404 Django Arbitrary Code Execution

HighCVSS 7.5 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
pypi django(PyPI) >= 0.95, < 1.0 1.0
pypi django(PyPI) = 0.95 No fix listed
django project django = 0.95 No fix listed
debian/python-django(Debian:12) < 0.95.1-1 0.95.1-1
debian/python-django(Debian:13) < 0.95.1-1 0.95.1-1
debian/python-django(Debian:14) < 0.95.1-1 0.95.1-1

References