Products.CMFPlone Open Redirect Vulnerability
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| products-cmfplone PyPI |
|
|
| plone PyPI |
|
| Product | Affected | Fixed in |
|---|---|---|
| products-cmfplone PyPI |
|
|
| plone PyPI |
|
≥ 5 · < 5.1.0
|
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.
From the CVE record · mitre
Plone’s login redirect can accept a crafted `came_from` link that points outside the Plone site. If a user clicks the link and logs in, they may be sent to an attacker’s site, or attacker-controlled JavaScript could execute.
Check installations of PyPI `products-cmfplone` below 4.3.17, from 5.0.0 to below 5.0.10, or from 5.1a1 to below 5.1.0, and PyPI `plone` from 2.5 to below 4.3.16 or from 5 to below 5.1.0.