CVE-2022-23599: Cross-site Scripting and Open Redirect in Products.ATContentTypes
Impact Plone is vulnerable to reflected cross site scripting and open redirect when an attacker can get a compromised version of the imageviewfullscreen 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 A new version 3.0.6 of Products.ATContentTypes has been released with a fix. This version works on Plone 5.2 (Python 2 only) and will be included in Plone 5.2.7.
Note that the Products.CMFPlone package has the same problem in the 4.3 series. plone.app.contenttypes has the same problem in all versions, see advisory. For all unpatched versions of the three packages, you can use the following workaround.
Workaround Make sure the imageviewfullscreen 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 'imageviewfullscreen'. 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.
Other sources
Products.ATContentTypes are the core content types for Plone 2.1 - 4.3. Versions of Plone that are dependent on Products.ATContentTypes prior to version 3.0.6 are vulnerable to reflected cross site scripting and open redirect when an attacker can get a compromised version of the imageviewfullscreen 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 the user's cache settings. Version 3.0.6 of Products.ATContentTypes has been released with a fix. This version works on Plone 5.2, Python 2 only. As a workaround, make sure the imageviewfullscreen page is not stored in the cache. More information about the vulnerability and cvmitigation measures is available in the GitHub Security Advisory.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-23599?
CVE-2022-23599 is a vulnerability in Products.ATContentTypes, the core content types for Plone 2.1 - 4.3.
What is the severity of CVE-2022-23599?
CVE-2022-23599 has a severity rating of medium (6.1).
Which versions of Plone are affected by CVE-2022-23599?
Versions of Plone that are dependent on Products.ATContentTypes prior to version 3.0.6 are affected by CVE-2022-23599.
What is the vulnerability type of CVE-2022-23599?
CVE-2022-23599 is a vulnerability that includes reflected cross site scripting and open redirect.
How can I fix CVE-2022-23599?
To fix CVE-2022-23599, you need to update Products.ATContentTypes to version 3.0.6 or higher.