fkie_cve-2013-6044
Vulnerability from fkie_nvd
Published
2013-10-04 17:55
Modified
2025-04-11 00:51
Severity ?
Summary
The is_safe_url function in utils/http.py in Django 1.4.x before 1.4.6, 1.5.x before 1.5.2, and 1.6 before beta 2 treats a URL's scheme as safe even if it is not HTTP or HTTPS, which might introduce cross-site scripting (XSS) or other vulnerabilities into Django applications that use this function, as demonstrated by "the login view in django.contrib.auth.views" and the javascript: scheme.
References
cve@mitre.orghttp://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html
cve@mitre.orghttp://rhn.redhat.com/errata/RHSA-2013-1521.html
cve@mitre.orghttp://seclists.org/oss-sec/2013/q3/369
cve@mitre.orghttp://seclists.org/oss-sec/2013/q3/411
cve@mitre.orghttp://secunia.com/advisories/54476Vendor Advisory
cve@mitre.orghttp://www.debian.org/security/2013/dsa-2740
cve@mitre.orghttp://www.securityfocus.com/bid/61777
cve@mitre.orghttp://www.securitytracker.com/id/1028915
cve@mitre.orghttps://exchange.xforce.ibmcloud.com/vulnerabilities/86437
cve@mitre.orghttps://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f
cve@mitre.orghttps://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762
cve@mitre.orghttps://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a
cve@mitre.orghttps://www.djangoproject.com/weblog/2013/aug/13/security-releases-issuedPatch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html
af854a3a-2127-422b-91ae-364da2661108http://rhn.redhat.com/errata/RHSA-2013-1521.html
af854a3a-2127-422b-91ae-364da2661108http://seclists.org/oss-sec/2013/q3/369
af854a3a-2127-422b-91ae-364da2661108http://seclists.org/oss-sec/2013/q3/411
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/54476Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2013/dsa-2740
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/61777
af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id/1028915
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/86437
af854a3a-2127-422b-91ae-364da2661108https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f
af854a3a-2127-422b-91ae-364da2661108https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762
af854a3a-2127-422b-91ae-364da2661108https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a
af854a3a-2127-422b-91ae-364da2661108https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issuedPatch, Vendor Advisory



{
  "configurations": [
    {
      "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
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.4.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "DC462CE5-1BE0-41E0-A28D-291350F021AA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.4.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "4166ADA9-D5B4-47D6-BD93-C98841108275",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.4.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "080D43D0-C0FF-4F89-910C-D466943816C6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "CCDB4B76-6541-4405-B74C-3EEAF84A04E1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "4E2A29CC-A92B-4EC1-8225-408A5048C033",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:djangoproject:django:1.6:beta1:*:*:*:*:*:*",
              "matchCriteriaId": "A83451BD-1D67-4A7F-A62C-F597E51FCC21",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The is_safe_url function in utils/http.py in Django 1.4.x before 1.4.6, 1.5.x before 1.5.2, and 1.6 before beta 2 treats a URL\u0027s scheme as safe even if it is not HTTP or HTTPS, which might introduce cross-site scripting (XSS) or other vulnerabilities into Django applications that use this function, as demonstrated by \"the login view in django.contrib.auth.views\" and the javascript: scheme."
    },
    {
      "lang": "es",
      "value": "La funci\u00f3n is_safe_url en utils/http.py de Django 1.4.x anterior a la versi\u00f3n 1.4.6, 1.5.x anterior a la versi\u00f3n 1.5.2, y 1.6 anterior a beta 2 trata un esquema de URL como seguro incluso si no es HTTP o HTTPS, lo que podr\u00eda permitir XSS u otras vulnerabilidades en aplicaciones Django que usen esta funci\u00f3n, como se ha demostrado con \"la vista de inicio de sesi\u00f3n en django.contrib.auth.views\" y el javascript: scheme."
    }
  ],
  "id": "CVE-2013-6044",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "NONE",
          "baseScore": 4.3,
          "confidentialityImpact": "NONE",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": true
      }
    ]
  },
  "published": "2013-10-04T17:55:10.040",
  "references": [
    {
      "source": "cve@mitre.org",
      "url": "http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://rhn.redhat.com/errata/RHSA-2013-1521.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://seclists.org/oss-sec/2013/q3/369"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://seclists.org/oss-sec/2013/q3/411"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/54476"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.debian.org/security/2013/dsa-2740"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/bid/61777"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securitytracker.com/id/1028915"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/86437"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://rhn.redhat.com/errata/RHSA-2013-1521.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://seclists.org/oss-sec/2013/q3/369"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://seclists.org/oss-sec/2013/q3/411"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/54476"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2013/dsa-2740"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/61777"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securitytracker.com/id/1028915"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/86437"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…