gsd-2013-6044
Vulnerability from gsd
Modified
2023-12-13 01:22
Details
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.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2013-6044",
    "description": "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.",
    "id": "GSD-2013-6044",
    "references": [
      "https://www.suse.com/security/cve/CVE-2013-6044.html",
      "https://www.debian.org/security/2013/dsa-2740",
      "https://access.redhat.com/errata/RHSA-2013:1521"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2013-6044"
      ],
      "details": "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.",
      "id": "GSD-2013-6044",
      "modified": "2023-12-13T01:22:19.771985Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2013-6044",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "61777",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/61777"
          },
          {
            "name": "1028915",
            "refsource": "SECTRACK",
            "url": "http://www.securitytracker.com/id/1028915"
          },
          {
            "name": "openSUSE-SU-2013:1541",
            "refsource": "SUSE",
            "url": "http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html"
          },
          {
            "name": "https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a",
            "refsource": "CONFIRM",
            "url": "https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a"
          },
          {
            "name": "54476",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/54476"
          },
          {
            "name": "RHSA-2013:1521",
            "refsource": "REDHAT",
            "url": "http://rhn.redhat.com/errata/RHSA-2013-1521.html"
          },
          {
            "name": "[oss-security] 20130814 [CVE request] Django 1.4.6 security release",
            "refsource": "MLIST",
            "url": "http://seclists.org/oss-sec/2013/q3/369"
          },
          {
            "name": "https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued",
            "refsource": "CONFIRM",
            "url": "https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued"
          },
          {
            "name": "django-issafeurl-xss(86437)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/86437"
          },
          {
            "name": "https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762",
            "refsource": "CONFIRM",
            "url": "https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762"
          },
          {
            "name": "https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f",
            "refsource": "CONFIRM",
            "url": "https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f"
          },
          {
            "name": "[oss-security] 20130819 Re: [CVE request] Django 1.4.6 security release",
            "refsource": "MLIST",
            "url": "http://seclists.org/oss-sec/2013/q3/411"
          },
          {
            "name": "DSA-2740",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2013/dsa-2740"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=1.4.0,\u003c1.4.6||\u003e=1.5.0,\u003c1.5.2",
          "affected_versions": "All versions starting from 1.4.0 before 1.4.6, all versions starting from 1.5.0 before 1.5.2",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2023-08-17",
          "description": "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.",
          "fixed_versions": [
            "1.4.6",
            "1.5.2"
          ],
          "identifier": "CVE-2013-6044",
          "identifiers": [
            "GHSA-9cwg-mhxf-hh59",
            "CVE-2013-6044"
          ],
          "not_impacted": "All versions before 1.4.0, all versions starting from 1.4.6 before 1.5.0, all versions starting from 1.5.2",
          "package_slug": "pypi/Django",
          "pubdate": "2022-05-17",
          "solution": "Upgrade to versions 1.4.6, 1.5.2 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2013-6044",
            "https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f",
            "https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762",
            "https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a",
            "https://exchange.xforce.ibmcloud.com/vulnerabilities/86437",
            "https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued",
            "http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html",
            "http://rhn.redhat.com/errata/RHSA-2013-1521.html",
            "http://seclists.org/oss-sec/2013/q3/369",
            "http://seclists.org/oss-sec/2013/q3/411",
            "http://secunia.com/advisories/54476",
            "http://www.debian.org/security/2013/dsa-2740",
            "http://www.securityfocus.com/bid/61777",
            "http://www.securitytracker.com/id/1028915",
            "https://github.com/advisories/GHSA-9cwg-mhxf-hh59"
          ],
          "uuid": "c6a6b628-7e74-4f4a-b804-b588160069b7"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.6:beta1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.4.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.4.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.4.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2013-6044"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "1028915",
              "refsource": "SECTRACK",
              "tags": [],
              "url": "http://www.securitytracker.com/id/1028915"
            },
            {
              "name": "https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued"
            },
            {
              "name": "[oss-security] 20130814 [CVE request] Django 1.4.6 security release",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://seclists.org/oss-sec/2013/q3/369"
            },
            {
              "name": "https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a"
            },
            {
              "name": "https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762"
            },
            {
              "name": "https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f"
            },
            {
              "name": "[oss-security] 20130819 Re: [CVE request] Django 1.4.6 security release",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://seclists.org/oss-sec/2013/q3/411"
            },
            {
              "name": "61777",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/61777"
            },
            {
              "name": "54476",
              "refsource": "SECUNIA",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://secunia.com/advisories/54476"
            },
            {
              "name": "RHSA-2013:1521",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2013-1521.html"
            },
            {
              "name": "openSUSE-SU-2013:1541",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html"
            },
            {
              "name": "django-issafeurl-xss(86437)",
              "refsource": "XF",
              "tags": [],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/86437"
            },
            {
              "name": "DSA-2740",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2013/dsa-2740"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "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,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        }
      },
      "lastModifiedDate": "2017-11-17T02:29Z",
      "publishedDate": "2013-10-04T17:55Z"
    }
  }
}


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.