Skip to content

GHSA-f7qw-5fgj-247x Cross-site Scripting and Open Redirect in plone.app.contenttypes

MediumCVSS 4.3
Published
Updated
Exploit status
No public exploit known

Description

Impact

Plone is vulnerable to reflected cross site scripting and open redirect when an attacker can get a compromised version of the image_view_fullscreen page in a cache, for example in Varnish.
The technique is known as cache poisoning.
Any later visitor can get redirected when clicking on a link on this page.
Usually only anonymous users are affected, but this depends on your cache settings.

Patches

New versions of plone.app.contenttypes have been released.
Version 2.2.3 works on Plone 5.2 and will be included in Plone 5.2.7.
Version 3.0.0a9 works on Plone 6 and will be included in Plone 6.0.0a3.

Note that the Products.CMFPlone package has the same problem in the 4.3 series.
In Plone 5.0-5.2, the default Products.ATContentTypes version has the same problem. See advisory.
For all unpatched versions of the three packages, you can use the following workaround.

Workaround

Make sure the image_view_fullscreen page is not stored in the cache.
In Plone:

  • Login as Manager and go to Site Setup.
  • Go to the 'Caching' control panel. If this does not exist, or 'Enable caching' is not checked, you should normally not be vulnerable.
  • Click on the tab 'Caching operations'.
  • Under 'Legacy template mappings' locate the ruleset 'Content item view'.
  • From the last column ('Templates') remove 'image_view_fullscreen'.
  • Click on Save.

Reporter

This vulnerability was responsibly disclosed to the Plone Security Team by Gustav Hansen, F-Secure Consulting. Thank you!

For more information

If you have any questions or comments about this advisory, email us at security@plone.org
This is also the correct address to use when you want to report a possible vulnerability.
See our security report policy.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi plone-app-contenttypes(PyPI) < 2.2.3; = 1.0; = 1.0b1; = 1.0b2 +100 more 2.2.3 Fixed
pypi plone.app.contenttypes(PyPI) < 2.2.3 2.2.3 Fixed

Affected products

ProductAffected versionsFixed in
pypi plone.app.contenttypes(PyPI) < 2.2.3 2.2.3
pypi plone-app-contenttypes(PyPI) < 2.2.3 2.2.3
pypi plone-app-contenttypes(PyPI) = 1.0 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.0b1 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.0b2 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.0rc1 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1.1 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1.2 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1.3 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1.4 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1.5 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1.6 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1.7 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1.8 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1.9 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1a1 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1b1 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1b2 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1b3 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1b4 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1b5 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.1b6 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.0 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.1 No fix listed
Show 80 more
ProductAffected versionsFixed in
pypi plone-app-contenttypes(PyPI) = 1.2.10 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.11 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.12 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.13 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.14 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.15 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.16 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.17 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.18 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.19 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.2 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.20 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.21 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.22 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.23 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.24 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.25 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.26 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.27 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.3 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.4 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.5 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.6 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.7 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.8 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2.9 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2a1 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2a2 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2a3 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2a4 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2a5 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2a6 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2a7 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2a8 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2a9 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2b1 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2b2 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2b3 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.2b4 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.3.0 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.1 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.10 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.11 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.12 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.13 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.14 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.15 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.16 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.17 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.18 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.2 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.3 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.4 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.5 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.6 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.7 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.8 No fix listed
pypi plone-app-contenttypes(PyPI) = 1.4.9 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.0.0 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.0.1 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.0.2 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.0.3 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.0.4 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.0.5 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.0.6 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.0 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.1 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.10 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.2 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.3 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.4 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.5 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.6 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.7 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.8 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.1.9 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.2.0 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.2.1 No fix listed
pypi plone-app-contenttypes(PyPI) = 2.2.2 No fix listed

References