Django .po file code execution

django-po-code-execution (31627) The risk level is classified as HighHigh Risk


Django could allow a remote attacker to execute arbitrary code on the system, caused by a vulnerability in the compile-messages script. A remote attacker could send a specially-crafted .po file to execute arbitrary code with the privileges of the application.


Base Score: 7
  Access Vector: Remote
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
Temporal Score: 5.2
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed


Gain Access


Refer to Debian Bug report logs - #407519 for patch, upgrade, or suggested workaround information. See References.


  • Debian Bug report logs - #407519: Security fix for Django i18n system.
  • Django Web site: django.
  • BID-22134: Django Message Files Remote Arbitrary Command Execution Vulnerability
  • CVE-2007-0404: bin/ 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.
  • OSVDB ID: 32936: Django bin/ msgfmt Arbitrary Command Execution
  • SA23826: Django Two Vulnerabilities

Platforms Affected:

  • Django Software Foundation Django 0.95


Jan 18, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page