CVE-2015-5081: Django cms Django-cms CSRF Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-2pqc-gv8q-pvqv
CVSS 8.8
CWE-352
Published
Advisory Summary

CVE-2015-5081 is a HIGH (CVSS 8.8) django-cms csrf vulnerability vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Django cms libraries in the PyPI ecosystem. The issue involves django-cms csrf vulnerability. Remediation is available by upgrading affected packages to version 3.0.14, 3.1.1.

CVE-2015-5081 at a Glance

CVE Identifier CVE-2015-5081
GHSA Identifier GHSA-2pqc-gv8q-pvqv
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Django cms
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2015-5081

To remediate this vulnerability, upgrade all affected Django cms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

django-cms fixed: 3.0.14
pip install django-cms>=3.0.14
django-cms fixed: 3.1.1
pip install django-cms>=3.1.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show django-cms

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2015-5081, inspect your installed packages using pip:

pip show django-cms

Analyze the terminal output to locate any version of Django cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.14), your application is affected.

Note: The pip show django-cms command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Django cms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Cross-site request forgery (CSRF) vulnerability in django CMS before 3.0.14, 3.1.x before 3.1.1 allows remote attackers to manipulate privileged users into performing unknown actions.

CVE-2015-5081 Affected Django cms Versions

2 component(s)
Fixed Versions:
3.0.143.1.1
Product / Package Ecosystem Affected Versions Fixed Version
django-cms
PyPI
< 3.0.14
3.0.14
django-cms
PyPI
≥ 3.1.0b1
< 3.1.1
3.1.1

References

Frequently Asked Questions

What is CVE-2015-5081?
CVE-2015-5081 is a security vulnerability in Django cms involving django-cms CSRF Vulnerability under CWE-352: Cross-Site Request Forgery (CSRF).
Which Django cms versions are affected?
Affected versions include releases prior to 3.0.14, 3.1.1 across affected packages: django-cms.
What version fixes CVE-2015-5081?
Upgrading to 3.0.14, 3.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is django-cms affected?
Yes, django-cms is affected in releases prior to 3.0.14, 3.1.1. Upgrade your dependency to 3.0.14, 3.1.1 or later.
What is the CVSS score of CVE-2015-5081?
CVE-2015-5081 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2015-5081?
CVE-2015-5081 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check PyPI dependencies for CVE-2015-5081?
Run the dependency tree command: 'pip show django-cms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2pqc-gv8q-pvqv",
  "modified" : "2024-09-16T14:42:41Z",
  "published" : "2022-05-17T01:57:52Z",
  "aliases" : [ "CVE-2015-5081" ],
  "summary" : "django-cms CSRF Vulnerability",
  "details" : "Cross-site request forgery (CSRF) vulnerability in django CMS before 3.0.14, 3.1.x before 3.1.1 allows remote attackers to manipulate privileged users into performing unknown actions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "django-cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "django-cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0b1"
      }, {
        "fixed" : "3.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5081"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/divio/django-cms/commit/f77cbc607d6e2a62e63287d37ad320109a2cc78a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django-cms/django-cms/commit/f77cbc607d6e2a62e63287d37ad320109a2cc78a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/django-cms/PYSEC-2017-11.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://www.django-cms.org/en/blog/2015/06/27/311-3014-release"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2015/06/28/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-03T19:53:31Z",
    "nvd_published_at" : "2017-08-18T18:29:00Z"
  }
}