CVE-2024-46978: Missing checks for notification filter preferences editions in XWiki Platform
Impact
It's possible for any user knowing the ID of a notification filter preference of another user, to enable/disable it or even delete it. The impact is that the target user might start loosing notifications on some pages because of this. This vulnerability is present in XWiki since 13.2-rc-1.
Patches
The vulnerability has been patched in XWiki 14.10.21, 15.5.5, 15.10.1, 16.0-rc-1. The patch consists in checking properly the rights of the user before performing any action on the filters.
Workarounds
It's possible to fix manually the vulnerability by editing the document XWiki.Notifications.Code.NotificationPreferenceService to apply the changes performed in this commit e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4.
References
JIRA ticket: https://jira.xwiki.org/browse/XWIKI-20337 Commit: e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4
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
Attribution
This vulnerability has been reported on Intigriti by @floerer
Other sources
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It's possible for any user knowing the ID of a notification filter preference of another user, to enable/disable it or even delete it. The impact is that the target user might start loosing notifications on some pages because of this. This vulnerability is present in XWiki since 13.2-rc-1. This vulnerability has been patched in XWiki 14.10.21, 15.5.5, 15.10.1, 16.0-rc-1. The patch consists in checking properly the rights of the user before performing any action on the filters. Users are advised to upgrade. It's possible to fix manually the vulnerability by editing the document XWiki.Notifications.Code.NotificationPreferenceService to apply the changes performed in commit e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-46978?
CVE-2024-46978 is considered to have a moderate severity due to the potential unauthorized manipulation of user notification settings.
How do I fix CVE-2024-46978?
To fix CVE-2024-46978, update to version 15.10.1, 15.5.5, or 14.10.21 of the affected software.
Who is affected by CVE-2024-46978?
Any user of XWiki versions from 13.2 to 15.10.1 may be affected by CVE-2024-46978 if they have notification filters.
What can an attacker do in CVE-2024-46978?
An attacker can enable, disable, or delete notification filters of other users if they know the ID of those filters.
Is there a workaround for CVE-2024-46978?
A specific workaround for CVE-2024-46978 is not mentioned; the recommended action is to apply the available updates.