CVE-2023-36477: Persistent Cross-site Scripting (XSS) through CKEditor Configuration pages in XWiki Platform
Effect Any user with edit rights can edit all pages in the CKEditor' space. This makes it possible to perform a variety of harmful actions, such as - removing technical documents, leading to loss of service - Editing the javascript configuration of CKEditor, leading to persistent XSS
Patches This issue has been patched in XWiki 14.10.6 and XWiki 15.1. This issue has been patched on the CKEditor Integration extension 1.64.9 for XWiki version older than 14.6RC1.
Workarounds The issue can be fixed manually by restricting the edit and delete rights to a trusted user or group (e.g. the XWiki.XWikiAdminGroup group), implicitly disabling those rights for all other users. See https://github.com/xwiki/xwiki-platform/commit/9d9d86179457cb8dc48b4491510537878800be4f
References - https://jira.xwiki.org/browse/XWIKI-20590 - https://jira.xwiki.org/browse/CKEDITOR-508 - https://github.com/xwiki/xwiki-platform/commit/9d9d86179457cb8dc48b4491510537878800be4f
For more information
If you have any questions or comments about this advisory:
Open an issue in Jira XWiki.org Email us at Security Mailing List
Other sources
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with edit rights can edit all pages in the CKEditor' space. This makes it possible to perform a variety of harmful actions, such as removing technical documents, leading to loss of service and editing the javascript configuration of CKEditor, leading to persistent XSS. This issue has been patched in XWiki 14.10.6 and XWiki 15.1. This issue has been patched on the CKEditor Integration extension 1.64.9 for XWiki version older than 14.6RC1. Users are advised to upgrade. Users unable to upgrade may manually address the issue by restricting the edit and delete rights to a trusted user or group (e.g. the XWiki.XWikiAdminGroup group), implicitly disabling those rights for all other users. See commit 9d9d86179 for details.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.xwiki.platform:xwiki-platform-ckeditor-uito a version that resolves this vulnerability.Fixed in 15.1 - Upgrade
Upgrade
maven/org.xwiki.contrib:application-ckeditor-uito a version that resolves this vulnerability.Fixed in 1.64.9 - Upgrade
Upgrade
maven/org.xwiki.platform:xwiki-platform-ckeditor-uito a version that resolves this vulnerability.Fixed in 14.10.6 - Upgrade
Upgrade
XWikito a version that resolves this vulnerability.Fixed in 14.10.6 - Upgrade
Upgrade
XWikito a version that resolves this vulnerability.Fixed in 15.1 - Upgrade
Upgrade
CKEditor Integration extensionto a version that resolves this vulnerability.Fixed in 1.64.9 - Compensating control
For installations unable to upgrade: restrict CKEditor configuration page `edit` and `delete` rights to a trusted user or group (e.g., the `XWiki.XWikiAdminGroup` group), implicitly disabling those rights for all other users.
Event History
Frequently Asked Questions
What is CVE-2023-36477?
CVE-2023-36477 is a vulnerability in the XWiki Platform that allows any user with edit rights to edit all pages in the CKEditor space, potentially leading to harmful actions and loss of service.
How severe is CVE-2023-36477?
CVE-2023-36477 has a severity level of critical, with a severity score of 5.4.
Which software versions are affected by CVE-2023-36477?
Versions 1.9 to 1.64.9 of Xwiki Ckeditor Integration, versions 14.6 to 14.10.6 of Xwiki Xwiki, version 15.0 and version 15.0-rc1 of Xwiki Xwiki are affected by CVE-2023-36477.
How can I fix CVE-2023-36477?
To fix CVE-2023-36477, it is recommended to update to a version of XWiki Platform that is not affected by this vulnerability.
Where can I find more information about CVE-2023-36477?
More information about CVE-2023-36477 can be found in the XWiki Platform's GitHub repository, XWiki Platform's security advisories page, and the related JIRA issue CKEDITOR-508.