<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpe="http://cpe.mitre.org/language/2.0" xmlns:cvrf="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf" xmlns:cvrf-common="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/common" xmlns:cvssv2="http://scap.nist.gov/schema/cvss-v2/1.0" xmlns:cvssv3="https://www.first.org/cvss/cvss-v3.0.xsd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://purl.org/dc/elements/1.1/" xmlns:prod="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod" xmlns:scap-core="http://scap.nist.gov/schema/scap-core/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:vuln="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf">
  <DocumentTitle xml:lang="en">CVE-2017-7233</DocumentTitle>
  <DocumentType>SUSE CVE</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE CVE-2017-7233</ID>
    </Identification>
    <Status>Interim</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>23</Number>
        <Date>2023-03-21T01:41:55Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-05-30T13:54:19Z</InitialReleaseDate>
    <CurrentReleaseDate>2023-03-21T01:41:55Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf-cve.pl</Engine>
      <Date>2020-12-27T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="CVE" Type="Summary" Ordinal="1" xml:lang="en">CVE-2017-7233</Note>
    <Note Title="Mitre CVE Description" Type="Description" Ordinal="2" xml:lang="en">Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="4" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
  </DocumentNotes>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2018-April/003895.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:0973-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2018-April/003965.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:1102-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/opensuse-updates/2018-03/msg00024.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:0632-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/opensuse-updates/2018-03/msg00103.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:0824-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/opensuse-updates/2018-03/msg00105.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:0826-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/OGS4NP24275NERRPQV6A6EONV6W3C2SK/</URL>
      <Description>E-Mail link for openSUSE-SU-2023:0077-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod">
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud 6">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud 6">
        <FullProductName ProductID="SUSE OpenStack Cloud 6" CPE="cpe:/o:suse:suse-openstack-cloud:6">SUSE OpenStack Cloud 6</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud 7">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud 7">
        <FullProductName ProductID="SUSE OpenStack Cloud 7" CPE="cpe:/o:suse:suse-openstack-cloud:7">SUSE OpenStack Cloud 7</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Package Hub 12">
      <Branch Type="Product Name" Name="SUSE Package Hub 12">
        <FullProductName ProductID="SUSE Package Hub 12" CPE="cpe:/o:suse:packagehub:12">SUSE Package Hub 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Package Hub 12 SP1">
      <Branch Type="Product Name" Name="SUSE Package Hub 12 SP1">
        <FullProductName ProductID="SUSE Package Hub 12 SP1" CPE="cpe:/o:suse:packagehub:12:sp1">SUSE Package Hub 12 SP1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Tumbleweed">
      <Branch Type="Product Name" Name="openSUSE Tumbleweed">
        <FullProductName ProductID="openSUSE Tumbleweed" CPE="cpe:/o:opensuse:tumbleweed">openSUSE Tumbleweed</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="python-Django-1.11.10-5.1">
      <FullProductName ProductID="python-Django-1.11.10-5.1" CPE="cpe:2.3:a:djangoproject:django:1.11.10:*:*:*:*:*:*:*">python-Django-1.11.10-5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-Django-1.11.15-2.1">
      <FullProductName ProductID="python-Django-1.11.15-2.1" CPE="cpe:2.3:a:djangoproject:django:1.11.15:*:*:*:*:*:*:*">python-Django-1.11.15-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-Django-1.8.19-3.4.1">
      <FullProductName ProductID="python-Django-1.8.19-3.4.1" CPE="cpe:2.3:a:djangoproject:django:1.8.19:*:*:*:*:*:*:*">python-Django-1.8.19-3.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-Django-1.8.19-3.6.1">
      <FullProductName ProductID="python-Django-1.8.19-3.6.1" CPE="cpe:2.3:a:djangoproject:django:1.8.19:*:*:*:*:*:*:*">python-Django-1.8.19-3.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python36-Django-3.2.7-2.3">
      <FullProductName ProductID="python36-Django-3.2.7-2.3">python36-Django-3.2.7-2.3</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python38-Django-3.2.7-2.3">
      <FullProductName ProductID="python38-Django-3.2.7-2.3" CPE="cpe:2.3:a:djangoproject:django:3.2.7:*:*:*:*:*:*:*">python38-Django-3.2.7-2.3</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python39-Django-3.2.7-2.3">
      <FullProductName ProductID="python39-Django-3.2.7-2.3" CPE="cpe:2.3:a:djangoproject:django:3.2.7:*:*:*:*:*:*:*">python39-Django-3.2.7-2.3</FullProductName>
    </Branch>
    <Relationship ProductReference="python-Django-1.8.19-3.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 6">
      <FullProductName ProductID="SUSE OpenStack Cloud 6:python-Django-1.8.19-3.6.1">python-Django-1.8.19-3.6.1 as a component of SUSE OpenStack Cloud 6</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-Django-1.8.19-3.4.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 7">
      <FullProductName ProductID="SUSE OpenStack Cloud 7:python-Django-1.8.19-3.4.1">python-Django-1.8.19-3.4.1 as a component of SUSE OpenStack Cloud 7</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-Django-1.11.10-5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12">
      <FullProductName ProductID="SUSE Package Hub 12:python-Django-1.11.10-5.1">python-Django-1.11.10-5.1 as a component of SUSE Package Hub 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-Django-1.11.15-2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:python-Django-1.11.15-2.1">python-Django-1.11.15-2.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python36-Django-3.2.7-2.3" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:python36-Django-3.2.7-2.3">python36-Django-3.2.7-2.3 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="python38-Django-3.2.7-2.3" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:python38-Django-3.2.7-2.3">python38-Django-3.2.7-2.3 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="python39-Django-3.2.7-2.3" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:python39-Django-3.2.7-2.3">python39-Django-3.2.7-2.3 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.</Note>
    </Notes>
    <CVE>CVE-2017-7233</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE OpenStack Cloud 6:python-Django-1.8.19-3.6.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:python-Django-1.8.19-3.4.1</ProductID>
        <ProductID>SUSE Package Hub 12:python-Django-1.11.10-5.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:python-Django-1.11.15-2.1</ProductID>
        <ProductID>openSUSE Tumbleweed:python36-Django-3.2.7-2.3</ProductID>
        <ProductID>openSUSE Tumbleweed:python38-Django-3.2.7-2.3</ProductID>
        <ProductID>openSUSE Tumbleweed:python39-Django-3.2.7-2.3</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>4</BaseScoreV2>
        <VectorV2>AV:N/AC:H/Au:N/C:P/I:P/A:N</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>6.1</BaseScoreV3>
        <VectorV3>CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
  </Vulnerability>
</cvrfdoc>
