CVE-2024-29197: Pimcore Preview Documents are not restricted to logged in users anymore
Summary Any call with the query argument ?pimcorepreview=true allows to view unpublished sites. Event if in incognito window. Due to the behaviour of how previews should work, this also applies to internal documents, say an intranet which could be really severe.
Details In previous versions of Pimcore, session information would propagate to previews, so only a logged in user could open a preview. This no longer applies. Previews are broad open to any user and with just the hint of a restricted link one could gain access to possible confident / unreleased information.
PoC - go to demo.pimcore.com - unpublish a document - open preview link in incognito tab - see how the page loads normally
Impact Any intranet or other restricted sites which are able to show a preview are affected. This could possibly be huge.
Other sources
Pimcore is an Open Source Data & Experience Management Platform. Any call with the query argument ?pimcorepreview=true allows to view unpublished sites. In previous versions of Pimcore, session information would propagate to previews, so only a logged in user could open a preview. This no longer applies. Previews are broad open to any user and with just the hint of a restricted link one could gain access to possible confident / unreleased information. This vulnerability is fixed in 11.2.2 and 11.1.6.1.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/pimcore/pimcoreto a version that resolves this vulnerability.Fixed in 11.2.2 - Upgrade
Upgrade
composer/pimcore/pimcoreto a version that resolves this vulnerability.Fixed in 11.1.6.1 - Upgrade
Upgrade
Pimcoreto a version that resolves this vulnerability.Fixed in 11.2.2 - Upgrade
Upgrade
Pimcoreto a version that resolves this vulnerability.Fixed in 11.1.6.1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-29197?
CVE-2024-29197 has a high severity due to its potential to expose unpublished sites and internal documents.
How do I fix CVE-2024-29197?
To fix CVE-2024-29197, update Pimcore to version 11.2.2 or 11.1.6.1 based on your current version.
What versions of Pimcore are affected by CVE-2024-29197?
CVE-2024-29197 affects Pimcore versions between 11.2.0 and 11.2.2, and from 11.0.0 to 11.1.6.1.
Can CVE-2024-29197 be exploited in an incognito window?
Yes, CVE-2024-29197 can be exploited in an incognito window, allowing access to unpublished content.
What is the primary risk associated with CVE-2024-29197?
The primary risk of CVE-2024-29197 is unauthorized access to unpublished sites and sensitive internal documents.