CVE-2017-1000481: Products.CMFPlone Products.CMFPlone Open Redirect Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-8g72-gq68-6gqh
CVSS 6.1
CWE-601
Published
Advisory Summary

CVE-2017-1000481 is a MODERATE (CVSS 6.1) products.cmfplone open redirect vulnerability vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Products.CMFPlone libraries in the PyPI ecosystem. The issue involves products.cmfplone open redirect vulnerability. Remediation is available by upgrading affected packages to version 4.3.17, 5.0.10, 5.1.0, 4.3.16.

CVE-2017-1000481 at a Glance

CVE Identifier CVE-2017-1000481
GHSA Identifier GHSA-8g72-gq68-6gqh
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Products.CMFPlone
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.1

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:C/C:L/I:L/A:N).

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

How to Fix CVE-2017-1000481

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

Products.CMFPlone fixed: 4.3.17
pip install Products.CMFPlone>=4.3.17
Products.CMFPlone fixed: 5.0.10
pip install Products.CMFPlone>=5.0.10
Products.CMFPlone fixed: 5.1.0
pip install Products.CMFPlone>=5.1.0
Plone fixed: 4.3.16
pip install Plone>=4.3.16
Plone fixed: 5.1.0
pip install Plone>=5.1.0
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 Products.CMFPlone

How to Check if You Are Affected

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

pip show Products.CMFPlone

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

Note: The pip show Products.CMFPlone command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Products.CMFPlone, 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

When you visit a page where you need to login, Plone 2.5-5.1rc1 sends you to the login form with a 'came_from' parameter set to the previous url. After you login, you get redirected to the page you tried to view before. An attacker might try to abuse this by letting you click on a specially crafted link. You would login, and get redirected to the site of the attacker, letting you think that you are still on the original Plone site. Or some javascript of the attacker could be executed. Most of these types of attacks are already blocked by Plone, using the `isURLInPortal` check to make sure we only redirect to a page on the same Plone site. But a few more ways of tricking Plone into accepting a malicious link were discovered, and fixed with this hotfix.

CVE-2017-1000481 Affected Products.CMFPlone Versions

5 component(s)
Fixed Versions:
4.3.175.0.105.1.04.3.16
Product / Package Ecosystem Affected Versions Fixed Version
Products.CMFPlone
PyPI
< 4.3.17
4.3.17
Products.CMFPlone
PyPI
≥ 5.0.0
< 5.0.10
5.0.10
Products.CMFPlone
PyPI
≥ 5.1a1
< 5.1.0
5.1.0
Plone
PyPI
≥ 2.5
< 4.3.16
4.3.16
Plone
PyPI
≥ 5
< 5.1.0
5.1.0

References

Frequently Asked Questions

What is CVE-2017-1000481?
CVE-2017-1000481 is a security vulnerability in Products.CMFPlone involving Products.CMFPlone Open Redirect Vulnerability under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Products.CMFPlone versions are affected?
Affected versions include releases prior to 4.3.17, 5.0.10, 5.1.0, 4.3.16 across affected packages: Products.CMFPlone, Plone.
What version fixes CVE-2017-1000481?
Upgrading to 4.3.17, 5.0.10, 5.1.0, 4.3.16 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Products.CMFPlone affected?
Yes, Products.CMFPlone is affected in releases prior to 4.3.17, 5.0.10, 5.1.0. Upgrade your dependency to 4.3.17, 5.0.10, 5.1.0 or later.
Is Plone affected?
Yes, Plone is affected in releases prior to 4.3.16, 5.1.0. Upgrade your dependency to 4.3.16, 5.1.0 or later.
What is the CVSS score of CVE-2017-1000481?
CVE-2017-1000481 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2017-1000481?
CVE-2017-1000481 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check PyPI dependencies for CVE-2017-1000481?
Run the dependency tree command: 'pip show Products.CMFPlone'. 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-8g72-gq68-6gqh",
  "modified" : "2024-10-17T20:58:40Z",
  "published" : "2022-05-14T03:49:10Z",
  "aliases" : [ "CVE-2017-1000481" ],
  "summary" : "Products.CMFPlone Open Redirect Vulnerability",
  "details" : "When you visit a page where you need to login, Plone 2.5-5.1rc1 sends you to the login form with a 'came_from' parameter set to the previous url. After you login, you get redirected to the page you tried to view before. An attacker might try to abuse this by letting you click on a specially crafted link. You would login, and get redirected to the site of the attacker, letting you think that you are still on the original Plone site. Or some javascript of the attacker could be executed. Most of these types of attacks are already blocked by Plone, using the `isURLInPortal` check to make sure we only redirect to a page on the same Plone site. But a few more ways of tricking Plone into accepting a malicious link were discovered, and fixed with this hotfix.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Products.CMFPlone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.3.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Products.CMFPlone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Products.CMFPlone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.1a1"
      }, {
        "fixed" : "5.1.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Plone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.5"
      }, {
        "fixed" : "4.3.16"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Plone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5"
      }, {
        "fixed" : "5.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000481"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/Products.CMFPlone/issues/2232"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/Products.CMFPlone/pull/2233"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/Products.CMFPlone/pull/2234"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/Products.CMFPlone/pull/2235"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/Products.CMFPlone/pull/2236"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/Products.CMFPlone/commit/05a943ecbcdda56bacc93b55c9e2e908d8a7dfab"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/Products.CMFPlone/commit/0e50e1e67ea3b6d3187f78cb1a1628081f654d3b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/Products.CMFPlone/commit/236b62b756ff46a92783b3897e717dfb15eb07d8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/Products.CMFPlone/commit/7db5b2c8fb684055987b8c4fdedc29289bd26373"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/plone/Products.CMFPlone"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2018-70.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://plone.org/security/hotfix/20171128/open-redirection-on-login-form"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-26T21:54:46Z",
    "nvd_published_at" : "2018-01-03T18:29:00Z"
  }
}