CVE-2024-46979 Data leak of notification filters of users in XWiki Platform

Medium 5.3 Published Updated

Attackers can access private notification filters of any user via a specific URL, exposing potentially sensitive references.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-46979?

CVE-2024-46979 is a medium-severity vulnerability in Xwiki Xwiki, published on 18 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. 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. This 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. Users are advised to upgrade. 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 commit c8c6545f9bde6f5aade994aa5b5903a67b5c2582.

Weakness: CWE-359, CWE-200

Which versions are affected by CVE-2024-46979?

6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-notifications-ui. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-notifications-ui MavenFrom 13.2-rc-114.10.21
org.xwiki.platform:xwiki-platform-notifications-ui MavenFrom 13.2-rc-114.10.21
org.xwiki.platform:xwiki-platform-notifications-ui MavenFrom 15.0-rc-115.5.5
org.xwiki.platform:xwiki-platform-notifications-ui MavenFrom 15.0-rc-115.5.5
org.xwiki.platform:xwiki-platform-notifications-ui MavenFrom 15.6-rc-115.10.1
org.xwiki.platform:xwiki-platform-notifications-ui MavenFrom 15.6-rc-115.10.1

Products include Xwiki Xwiki.

How do I fix CVE-2024-46979?

Upgrade org.xwiki.platform:xwiki-platform-notifications-ui to a fixed version for your release line: 14.10.21, 15.5.5 or 15.10.1.

Is CVE-2024-46979 being exploited?

There is no known exploitation of CVE-2024-46979 in the wild and no public exploit code.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-pg4m-3gp6-hw4w.

Is CVE-2024-46979 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free