Vulnerability · Published Sep 18, 2024 · Assigned by GitHub_M
CVE-2024-46978Missing checks for notification filter preferences editions in XWiki Platform
Medium 6.5
In plain English
A medium-severity security flaw in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-notifications-ui | 14.10.21 | GHSA-r95w-889q-x2gx |
| Maven | org.xwiki.platform:xwiki-platform-notifications-ui | 15.5.5 | GHSA-r95w-889q-x2gx |
| Maven | org.xwiki.platform:xwiki-platform-notifications-ui | 15.10.1 | GHSA-r95w-889q-x2gx |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 13.2-rc-1, < 14.10.21>= 15.0.0, < 15.5.5>= 15.6.0, < 15.10.1 |
Weakness: CWE-648 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r95w-889q-x2gx x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20337 x_refsource_MISC