GitHub Advisoryadvisory · PyPI

GHSA-8g72-gq68-6gqh Products.CMFPlone Open Redirect Vulnerability

MEDIUM Published 2022-05-14 Modified 2024-10-17 Official page ↗
Aliases
CVE-2017-1000481
Ecosystem
PyPI
Packages
Products.CMFPlone, Plone
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-601
Reviewed
2023-07-26

Affected packages

• PyPI Products.CMFPlone: < 4.3.17 → fixed in 4.3.17 • PyPI Products.CMFPlone: >= 5.0.0, < 5.0.10 → fixed in 5.0.10 • PyPI Products.CMFPlone: >= 5.1a1, < 5.1.0 → fixed in 5.1.0 • PyPI Plone: >= 2.5, < 4.3.16 → fixed in 4.3.16 • PyPI Plone: >= 5, < 5.1.0 → fixed in 5.1.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2017-1000481 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… vulnerability

Weakness · CWE (1)

  • CWE-601 URL Redirection to Untrusted Site weakness

References