PT-2007-1875 · Django · Django

Publicado

2007-01-23

·

Atualizado

2022-05-01

·

CVE-2007-0404

CVSS v2.0

7.5

Alta

VetorAV: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.

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Identificadores relacionados

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

Produtos afetados

Django