Advisory

PYSEC-2018-70

Also known as: CVE-2017-1000481, GHSA-8g72-gq68-6gqh, PYSEC-2026-2963

Summary

The record has no summary.

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

Not rated by the source.

Dates

Published
2018-01-03 18:29 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

plone

PyPI · All systems

Affected

  • introduced 2.5, fixed 4.3.16, introduced 5, fixed 5.1.0 (ecosystem)

Fixed versions

4.3.16, 5.1.0

Fix

  • Fixed version 4.3.16
    pip install --upgrade plone==4.3.16
  • Fixed version 5.1.0
    pip install --upgrade plone==5.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences