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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- bugs.debian.org
- django-po-code-execution(31627) vdb-entry
- github.com product
- code.djangoproject.com
- 23826 patch third-party-advisory vendor-advisory
- 22134 vdb-entry
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2007-0404 vendor-advisory
- bugs.debian.org issue-tracking