CVE-2024-46979: org.xwiki.platform:xwiki-platform-notifications-ui leaks data of notification filters of users
Impact It's possible to get access to notification filters of any user by using a URL such as xwiki/bin/get/XWiki/Notifications/Code/NotificationFilterPreferenceLivetableResults?outputSyntax=plain&type=custom&user= . This vulnerability impacts all versions of XWiki since 13.2-rc-1.
Published Sep 18, 2024
Affected packages
org.xwiki.platform:xwiki-platform-notifications-ui
- Ecosystem
- Maven
- Affected
- >= 13.2-rc-1, < 14.10.21
- Fixed in
- 14.10.21
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-notifications-ui
org.xwiki.platform:xwiki-platform-notifications-ui
- Ecosystem
- Maven
- Affected
- >= 15.0-rc-1, < 15.5.5
- Fixed in
- 15.5.5
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-notifications-ui
org.xwiki.platform:xwiki-platform-notifications-ui
- Ecosystem
- Maven
- Affected
- >= 15.6-rc-1, < 15.10.1
- Fixed in
- 15.10.1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-notifications-ui
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
It's possible to get access to notification filters of any user by using a URL such as <hostname>xwiki/bin/get/XWiki/Notifications/Code/NotificationFilterPreferenceLivetableResults?outputSyntax=plain&type=custom&user=<username>. This vulnerability impacts all versions of XWiki since 13.2-rc-1. The filters do not provide much information (they mainly contain references which are public data in XWiki), though some info could be used in combination with other vulnerabilities.
Patches
The vulnerability has been patched in XWiki 14.10.21, 15.5.5, 15.10.1, 16.0RC1. The patch consists in checking the rights of the user when sending the data.
Workarounds
It's possible to workaround the vulnerability by applying manually the patch: it's possible for an administrator to edit directly the document XWiki.Notifications.Code.NotificationFilterPreferenceLivetableResults to apply the same changes as in the patch. See c8c6545f9bde6f5aade994aa5b5903a67b5c2582.
References
- Jira ticket: https://jira.xwiki.org/browse/XWIKI-20336
- Commit: c8c6545f9bde6f5aade994aa5b5903a67b5c2582
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](mailto:[email protected])
Attribution
This vulnerability has been reported on Intigriti by Mete.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-pg4m-3gp6-hw4w
- https://github.com/xwiki/xwiki-platform/commit/29e5edbb2b7068ada17290cea41e0aa8144e1294
- https://github.com/xwiki/xwiki-platform/commit/a0352922a1a61e0e858a9be89d73f0665630a63a
- https://github.com/xwiki/xwiki-platform/commit/c8c6545f9bde6f5aade994aa5b5903a67b5c2582
- https://github.com/xwiki/xwiki-platform/commit/ed090d1aa228848d3860968c437b72db3b09119f
- https://jira.xwiki.org/browse/XWIKI-20336
- https://nvd.nist.gov/vuln/detail/CVE-2024-46979
- https://github.com/advisories/GHSA-pg4m-3gp6-hw4w
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
