Skip to content

org.xwiki.platform:xwiki-platform-notifications-ui is missing checks for notification filter preferences editions

Moderate severity GitHub Reviewed Published Sep 18, 2024 in xwiki/xwiki-platform • Updated Sep 18, 2024

Package

maven org.xwiki.platform:xwiki-platform-notifications-ui (Maven)

Affected versions

>= 13.2-rc-1, < 14.10.21
>= 15.0-rc-1, < 15.5.5
>= 15.6-rc-1, < 15.10.1

Patched versions

14.10.21
15.5.5
15.10.1

Description

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

For more information

If you have any questions or comments about this advisory:

Attribution

This vulnerability has been reported on Intigriti by @floerer

References

@surli surli published to xwiki/xwiki-platform Sep 18, 2024
Published to the GitHub Advisory Database Sep 18, 2024
Reviewed Sep 18, 2024
Published by the National Vulnerability Database Sep 18, 2024
Last updated Sep 18, 2024

Severity

Moderate

EPSS score

0.045%
(17th percentile)

Weaknesses

CVE ID

CVE-2024-46978

GHSA ID

GHSA-r95w-889q-x2gx

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.