GHSA-QC99-G3WM-HGXR
Vulnerability from github – Published: 2022-05-01 17:44 – Updated: 2025-04-09 14:34
VLAI?
Summary
Django Arbitrary Code Execution
Details
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": [
{
"package": {
"ecosystem": "PyPI",
"name": "Django"
},
"ranges": [
{
"events": [
{
"introduced": "0.95"
},
{
"fixed": "1.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.95"
]
}
],
"aliases": [
"CVE-2007-0404"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2024-05-14T17:18:37Z",
"nvd_published_at": "2007-01-23T00:28:00Z",
"severity": "HIGH"
},
"details": "`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.",
"id": "GHSA-qc99-g3wm-hgxr",
"modified": "2025-04-09T14:34:39Z",
"published": "2022-05-01T17:44:04Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-0404"
},
{
"type": "WEB",
"url": "https://github.com/django/django/commit/518d406e53"
},
{
"type": "WEB",
"url": "https://github.com/django/django/commit/a132d411c6986418ee6c0edc331080aa792fee6e"
},
{
"type": "WEB",
"url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407519"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/31627"
},
{
"type": "PACKAGE",
"url": "https://github.com/django/django"
},
{
"type": "WEB",
"url": "http://code.djangoproject.com/changeset/3592"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Django Arbitrary Code Execution"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…