FKIE_CVE-2012-4520

Vulnerability from fkie_nvd - Published: 2012-11-18 23:55 - Updated: 2026-06-16 23:45
Severity
Summary
The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values.
References
secalert@redhat.comhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145
secalert@redhat.comhttp://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html
secalert@redhat.comhttp://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html
secalert@redhat.comhttp://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html
secalert@redhat.comhttp://secunia.com/advisories/51033Vendor Advisory
secalert@redhat.comhttp://secunia.com/advisories/51314Vendor Advisory
secalert@redhat.comhttp://securitytracker.com/id?1027708
secalert@redhat.comhttp://ubuntu.com/usn/usn-1632-1
secalert@redhat.comhttp://ubuntu.com/usn/usn-1757-1
secalert@redhat.comhttp://www.debian.org/security/2013/dsa-2634
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2012/10/30/4
secalert@redhat.comhttp://www.osvdb.org/86493
secalert@redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=865164
secalert@redhat.comhttps://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3
secalert@redhat.comhttps://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e
secalert@redhat.comhttps://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071
secalert@redhat.comhttps://www.djangoproject.com/weblog/2012/oct/17/security/Patch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145
af854a3a-2127-422b-91ae-364da2661108http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html
af854a3a-2127-422b-91ae-364da2661108http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html
af854a3a-2127-422b-91ae-364da2661108http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/51033Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/51314Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://securitytracker.com/id?1027708
af854a3a-2127-422b-91ae-364da2661108http://ubuntu.com/usn/usn-1632-1
af854a3a-2127-422b-91ae-364da2661108http://ubuntu.com/usn/usn-1757-1
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2013/dsa-2634
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2012/10/30/4
af854a3a-2127-422b-91ae-364da2661108http://www.osvdb.org/86493
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=865164
af854a3a-2127-422b-91ae-364da2661108https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3
af854a3a-2127-422b-91ae-364da2661108https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e
af854a3a-2127-422b-91ae-364da2661108https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071
af854a3a-2127-422b-91ae-364da2661108https://www.djangoproject.com/weblog/2012/oct/17/security/Patch, Vendor Advisory

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "secalert@redhat.com"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "8F5428AE-6B63-4D27-BCC4-F228264A6F0E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:*",
              "matchCriteriaId": "06F122AC-B9BF-4E27-A7C0-F3E7B5E8A907",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.3:beta1:*:*:*:*:*:*",
              "matchCriteriaId": "33D378F8-CFDC-4882-A838-406ABA7AD8CC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "132795AE-92DD-42CB-A59E-5F7136F93B46",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "6B5BE262-260E-4250-8F68-7392FD68970E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "F18B54E2-447B-4B38-9E88-6833F67EB24C",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    },
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "9A79FF7F-8F92-4FEB-96CC-6B15D0CE920D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "13EF02D4-406C-4146-9B8F-FAC906E7B6E5",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values."
    },
    {
      "lang": "es",
      "value": "La funci\u00f3n django.http.HttpRequest.get_host en Django v1.3.x antes de v1.3.4 y v1.4.x antes de v1.4.2, permite a atacantes remotos generar y mostrar URLs de su elecci\u00f3n a trav\u00e9s de nombre de usuario y contrase\u00f1a de la cabecera Host manipulados."
    }
  ],
  "id": "CVE-2012-4520",
  "lastModified": "2026-06-16T23:45:15.110",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "NONE",
          "baseScore": 6.4,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 4.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2012-11-18T23:55:01.040",
  "references": [
    {
      "source": "secalert@redhat.com",
      "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/51033"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/51314"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://securitytracker.com/id?1027708"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://ubuntu.com/usn/usn-1632-1"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://ubuntu.com/usn/usn-1757-1"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.debian.org/security/2013/dsa-2634"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2012/10/30/4"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.osvdb.org/86493"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=865164"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://www.djangoproject.com/weblog/2012/oct/17/security/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/51033"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/51314"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://securitytracker.com/id?1027708"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://ubuntu.com/usn/usn-1632-1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://ubuntu.com/usn/usn-1757-1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2013/dsa-2634"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2012/10/30/4"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.osvdb.org/86493"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=865164"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://www.djangoproject.com/weblog/2012/oct/17/security/"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-20"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…