GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2015-8213

Vulnerability from gsd - Updated: 2023-12-13 01:20
Details
The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2015-8213",
    "description": "The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY.",
    "id": "GSD-2015-8213",
    "references": [
      "https://www.suse.com/security/cve/CVE-2015-8213.html",
      "https://www.debian.org/security/2015/dsa-3404",
      "https://access.redhat.com/errata/RHSA-2016:0360",
      "https://access.redhat.com/errata/RHSA-2016:0158",
      "https://access.redhat.com/errata/RHSA-2016:0157",
      "https://access.redhat.com/errata/RHSA-2016:0156",
      "https://access.redhat.com/errata/RHSA-2016:0129",
      "https://ubuntu.com/security/CVE-2015-8213",
      "https://advisories.mageia.org/CVE-2015-8213.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2015-8213"
      ],
      "details": "The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY.",
      "id": "GSD-2015-8213",
      "modified": "2023-12-13T01:20:03.296451Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2015-8213",
        "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 get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4",
            "refsource": "CONFIRM",
            "url": "https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4"
          },
          {
            "name": "openSUSE-SU-2015:2199",
            "refsource": "SUSE",
            "url": "http://lists.opensuse.org/opensuse-updates/2015-12/msg00014.html"
          },
          {
            "name": "USN-2816-1",
            "refsource": "UBUNTU",
            "url": "http://www.ubuntu.com/usn/USN-2816-1"
          },
          {
            "name": "RHSA-2016:0129",
            "refsource": "REDHAT",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-0129.html"
          },
          {
            "name": "https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/",
            "refsource": "CONFIRM",
            "url": "https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/"
          },
          {
            "name": "FEDORA-2015-323274d412",
            "refsource": "FEDORA",
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174770.html"
          },
          {
            "name": "1034237",
            "refsource": "SECTRACK",
            "url": "http://www.securitytracker.com/id/1034237"
          },
          {
            "name": "RHSA-2016:0158",
            "refsource": "REDHAT",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-0158.html"
          },
          {
            "name": "RHSA-2016:0157",
            "refsource": "REDHAT",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-0157.html"
          },
          {
            "name": "DSA-3404",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2015/dsa-3404"
          },
          {
            "name": "RHSA-2016:0156",
            "refsource": "REDHAT",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-0156.html"
          },
          {
            "name": "77750",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/77750"
          },
          {
            "name": "FEDORA-2015-a8c8f60fbd",
            "refsource": "FEDORA",
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173375.html"
          },
          {
            "name": "openSUSE-SU-2015:2202",
            "refsource": "SUSE",
            "url": "http://lists.opensuse.org/opensuse-updates/2015-12/msg00017.html"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c1.7.11||\u003e=1.8.0a,\u003c1.8.7||\u003e=1.9a,\u003c1.9rc2",
          "affected_versions": "All versions before 1.7.11, all versions starting from 1.8.0a before 1.8.7, all versions starting from 1.9a before 1.9rc2",
          "credit": "Thanks Ryan Butterfield",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-200",
            "CWE-937"
          ],
          "date": "2016-12-07",
          "description": "If an application allows users to specify an unvalidated format for dates and passes this format to the `date` filter, a malicious user could obtain any secret in the application\u0027s settings by specifying a settings key instead of a date format. e.g. `SECRET_KEY` instead of `j/m/Y`.",
          "fixed_versions": [
            "1.7.11",
            "1.8.7",
            "1.9rc2"
          ],
          "identifier": "CVE-2015-8213",
          "identifiers": [
            "CVE-2015-8213"
          ],
          "not_impacted": "All versions starting from 1.7.11 before 1.8.0a, all versions starting from 1.8.7 before 1.9a, all versions starting from 1.9rc2",
          "package_slug": "pypi/Django",
          "pubdate": "2015-12-07",
          "solution": "Upgrade to versions 1.7.11, 1.8.7, 1.9rc2 or above.",
          "title": "Settings leak in date template filter",
          "urls": [
            "https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/"
          ],
          "uuid": "c5cb2d0c-2ffc-4cea-b35b-9a84f6843492"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.8.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.8.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.8.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.8.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.8.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.8.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.8.6:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.7.10",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:djangoproject:django:1.9.0:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2015-8213"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-200"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/"
            },
            {
              "name": "https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4"
            },
            {
              "name": "USN-2816-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/USN-2816-1"
            },
            {
              "name": "77750",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/77750"
            },
            {
              "name": "RHSA-2016:0156",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-0156.html"
            },
            {
              "name": "RHSA-2016:0158",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-0158.html"
            },
            {
              "name": "RHSA-2016:0129",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-0129.html"
            },
            {
              "name": "RHSA-2016:0157",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-0157.html"
            },
            {
              "name": "1034237",
              "refsource": "SECTRACK",
              "tags": [],
              "url": "http://www.securitytracker.com/id/1034237"
            },
            {
              "name": "FEDORA-2015-323274d412",
              "refsource": "FEDORA",
              "tags": [],
              "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174770.html"
            },
            {
              "name": "openSUSE-SU-2015:2202",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-updates/2015-12/msg00017.html"
            },
            {
              "name": "DSA-3404",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2015/dsa-3404"
            },
            {
              "name": "FEDORA-2015-a8c8f60fbd",
              "refsource": "FEDORA",
              "tags": [],
              "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173375.html"
            },
            {
              "name": "openSUSE-SU-2015:2199",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-updates/2015-12/msg00014.html"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.0,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "NONE",
            "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2016-12-07T18:26Z",
      "publishedDate": "2015-12-07T20:59Z"
    }
  }
}



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…

Detection rules are retrieved from Rulezet.

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…