{"id":"GHSA-r95w-889q-x2gx","summary":"org.xwiki.platform:xwiki-platform-notifications-ui is missing checks for notification filter preferences editions","details":"### Impact\n\nIt'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.\nThis vulnerability is present in XWiki since 13.2-rc-1. \n\n### Patches\n\nThe 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. \n\n### Workarounds\n\nIt's possible to fix manually the vulnerability by editing the document `XWiki.Notifications.Code.NotificationPreferenceService` to apply the changes performed in this commit e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4.\n\n### References\n\n  * JIRA ticket: https://jira.xwiki.org/browse/XWIKI-20337\n  * Commit: e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)\n\n### Attribution\n\nThis vulnerability has been reported on Intigriti by @floerer","aliases":["CVE-2024-46978"],"modified":"2024-11-18T16:27:14Z","published":"2024-09-18T14:26:16Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-09-18T14:26:16Z","nvd_published_at":"2024-09-18T18:15:06Z","cwe_ids":["CWE-648"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r95w-889q-x2gx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46978"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/4771573dac88e0cf04e30f1a8dfa183c048d503a"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/99193a7e9a203b5bb8b2583ac96f5f4d56b9aa1a"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/b9180b874a22e383ad5f2cd9e25bfed4594d4955"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20337"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-notifications-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-notifications-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.2-rc-1"},{"fixed":"14.10.21"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-r95w-889q-x2gx/GHSA-r95w-889q-x2gx.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-notifications-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-notifications-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.0-rc-1"},{"fixed":"15.5.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-r95w-889q-x2gx/GHSA-r95w-889q-x2gx.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-notifications-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-notifications-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.6-rc-1"},{"fixed":"15.10.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-r95w-889q-x2gx/GHSA-r95w-889q-x2gx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}