GSD-2019-12308

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2019-12308",
    "description": "An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.",
    "id": "GSD-2019-12308",
    "references": [
      "https://www.suse.com/security/cve/CVE-2019-12308.html",
      "https://www.debian.org/security/2019/dsa-4476",
      "https://ubuntu.com/security/CVE-2019-12308",
      "https://security.archlinux.org/CVE-2019-12308"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2019-12308"
      ],
      "details": "An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.",
      "id": "GSD-2019-12308",
      "modified": "2023-12-13T01:23:43.557284Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2019-12308",
        "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": "An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://docs.djangoproject.com/en/dev/releases/security/",
            "refsource": "MISC",
            "url": "https://docs.djangoproject.com/en/dev/releases/security/"
          },
          {
            "name": "[oss-security] 20190603 Django: CVE-2019-12308 AdminURLFieldWidget XSS (plus patched bundled jQuery for CVE-2019-11358)",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2019/06/03/2"
          },
          {
            "name": "https://groups.google.com/forum/#!topic/django-announce/GEbHU7YoVz8",
            "refsource": "MISC",
            "url": "https://groups.google.com/forum/#!topic/django-announce/GEbHU7YoVz8"
          },
          {
            "name": "https://docs.djangoproject.com/en/dev/releases/1.11.21/",
            "refsource": "CONFIRM",
            "url": "https://docs.djangoproject.com/en/dev/releases/1.11.21/"
          },
          {
            "name": "https://docs.djangoproject.com/en/dev/releases/2.1.9/",
            "refsource": "CONFIRM",
            "url": "https://docs.djangoproject.com/en/dev/releases/2.1.9/"
          },
          {
            "name": "https://docs.djangoproject.com/en/dev/releases/2.2.2/",
            "refsource": "CONFIRM",
            "url": "https://docs.djangoproject.com/en/dev/releases/2.2.2/"
          },
          {
            "name": "https://www.djangoproject.com/weblog/2019/jun/03/security-releases/",
            "refsource": "CONFIRM",
            "url": "https://www.djangoproject.com/weblog/2019/jun/03/security-releases/"
          },
          {
            "name": "108559",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/108559"
          },
          {
            "name": "[debian-lts-announce] 20190605 [SECURITY] [DLA 1814-1] python-django security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2019/06/msg00001.html"
          },
          {
            "name": "FEDORA-2019-57a4324120",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/USYRARSYB7PE3S2ZQO7PZNWMH7RPGL5G/"
          },
          {
            "name": "USN-4043-1",
            "refsource": "UBUNTU",
            "url": "https://usn.ubuntu.com/4043-1/"
          },
          {
            "name": "[debian-lts-announce] 20190701 [SECURITY] [DLA 1842-1] python-django security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2019/07/msg00001.html"
          },
          {
            "name": "DSA-4476",
            "refsource": "DEBIAN",
            "url": "https://www.debian.org/security/2019/dsa-4476"
          },
          {
            "name": "20190708 [SECURITY] [DSA 4476-1] python-django security update",
            "refsource": "BUGTRAQ",
            "url": "https://seclists.org/bugtraq/2019/Jul/10"
          },
          {
            "name": "openSUSE-SU-2019:1839",
            "refsource": "SUSE",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html"
          },
          {
            "name": "openSUSE-SU-2019:1872",
            "refsource": "SUSE",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html"
          },
          {
            "name": "GLSA-202004-17",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/202004-17"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=1.11,\u003c1.11.21||\u003e=2.1,\u003c2.1.9||\u003e=2.2,\u003c2.2.2",
          "affected_versions": "All versions starting from 1.11 before 1.11.21, all versions starting from 2.1 before 2.1.9, all versions starting from 2.2 before 2.2.2",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2019-06-12",
          "description": "An issue was discovered in Django. The `clickable` Current URL value displayed by the `AdminURLFieldWidget` displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in a clickable JavaScript link.",
          "fixed_versions": [
            "1.11.21",
            "2.1.9",
            "2.2.2"
          ],
          "identifier": "CVE-2019-12308",
          "identifiers": [
            "CVE-2019-12308"
          ],
          "not_impacted": "All versions before 1.11, all versions starting from 1.11.21 before 2.1, all versions starting from 2.1.9 before 2.2, all versions starting from 2.2.2",
          "package_slug": "pypi/Django",
          "pubdate": "2019-06-03",
          "solution": "Upgrade to versions 1.11.21, 2.1.9, 2.2.2 or above.",
          "title": "Cross-site Scripting",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2019-12308",
            "https://docs.djangoproject.com/en/dev/releases/1.11.21/",
            "https://docs.djangoproject.com/en/dev/releases/2.1.9/",
            "https://docs.djangoproject.com/en/dev/releases/2.2.2/",
            "https://docs.djangoproject.com/en/dev/releases/security/",
            "https://groups.google.com/forum/#!topic/django-announce/GEbHU7YoVz8",
            "https://www.djangoproject.com/weblog/2019/jun/03/security-releases/",
            "https://github.com/django/django/commit/deeba6d92006999fee9adfbd8be79bf0a59e8008",
            "https://github.com/django/django/commit/afddabf8428ddc89a332f7a78d0d21eaf2b5a673",
            "https://github.com/django/django/commit/09186a13d975de6d049f8b3e05484f66b01ece62",
            "https://github.com/django/django/commit/c238701859a52d584f349cce15d56c8e8137c52b"
          ],
          "uuid": "149e1ab4-7152-4fa8-a40a-9a50a31d6d2f"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "2.1.9",
                "versionStartIncluding": "2.1",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.11.21",
                "versionStartIncluding": "1.11",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "2.2.2",
                "versionStartIncluding": "2.2",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2019-12308"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://www.djangoproject.com/weblog/2019/jun/03/security-releases/",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://www.djangoproject.com/weblog/2019/jun/03/security-releases/"
            },
            {
              "name": "https://groups.google.com/forum/#!topic/django-announce/GEbHU7YoVz8",
              "refsource": "MISC",
              "tags": [
                "Mailing List",
                "Vendor Advisory"
              ],
              "url": "https://groups.google.com/forum/#!topic/django-announce/GEbHU7YoVz8"
            },
            {
              "name": "https://docs.djangoproject.com/en/dev/releases/security/",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://docs.djangoproject.com/en/dev/releases/security/"
            },
            {
              "name": "https://docs.djangoproject.com/en/dev/releases/2.2.2/",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://docs.djangoproject.com/en/dev/releases/2.2.2/"
            },
            {
              "name": "https://docs.djangoproject.com/en/dev/releases/2.1.9/",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://docs.djangoproject.com/en/dev/releases/2.1.9/"
            },
            {
              "name": "https://docs.djangoproject.com/en/dev/releases/1.11.21/",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://docs.djangoproject.com/en/dev/releases/1.11.21/"
            },
            {
              "name": "[oss-security] 20190603 Django: CVE-2019-12308 AdminURLFieldWidget XSS (plus patched bundled jQuery for CVE-2019-11358)",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2019/06/03/2"
            },
            {
              "name": "108559",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/108559"
            },
            {
              "name": "[debian-lts-announce] 20190605 [SECURITY] [DLA 1814-1] python-django security update",
              "refsource": "MLIST",
              "tags": [],
              "url": "https://lists.debian.org/debian-lts-announce/2019/06/msg00001.html"
            },
            {
              "name": "FEDORA-2019-57a4324120",
              "refsource": "FEDORA",
              "tags": [],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/USYRARSYB7PE3S2ZQO7PZNWMH7RPGL5G/"
            },
            {
              "name": "USN-4043-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "https://usn.ubuntu.com/4043-1/"
            },
            {
              "name": "[debian-lts-announce] 20190701 [SECURITY] [DLA 1842-1] python-django security update",
              "refsource": "MLIST",
              "tags": [],
              "url": "https://lists.debian.org/debian-lts-announce/2019/07/msg00001.html"
            },
            {
              "name": "DSA-4476",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "https://www.debian.org/security/2019/dsa-4476"
            },
            {
              "name": "20190708 [SECURITY] [DSA 4476-1] python-django security update",
              "refsource": "BUGTRAQ",
              "tags": [],
              "url": "https://seclists.org/bugtraq/2019/Jul/10"
            },
            {
              "name": "openSUSE-SU-2019:1839",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html"
            },
            {
              "name": "openSUSE-SU-2019:1872",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html"
            },
            {
              "name": "GLSA-202004-17",
              "refsource": "GENTOO",
              "tags": [],
              "url": "https://security.gentoo.org/glsa/202004-17"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "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
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.0"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2019-06-12T17:29Z",
      "publishedDate": "2019-06-03T17:29Z"
    }
  }
}


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 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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…