PT-2007-1875 · Django · Django

Published

2007-01-23

·

Updated

2022-05-01

·

CVE-2007-0404

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Django version 0.95
Description The issue arises from the bin/compile-messages.py script in Django, which fails to properly quote argument strings before invoking the msgfmt program through the os.system function. This oversight allows attackers to execute arbitrary commands via shell metacharacters in a (1) .po or (2) .mo file.
Recommendations For Django version 0.95, consider modifying the bin/compile-messages.py script to properly quote argument strings before invoking the msgfmt program to prevent command execution via shell metacharacters. As a temporary workaround, restrict access to the bin/compile-messages.py script and avoid using it with untrusted .po or .mo files until a proper fix is applied.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2007-0404
GHSA-QC99-G3WM-HGXR

Affected Products

Django