GHSA-r95w-889q-x2gx

Suggest an improvement
Source
https://github.com/advisories/GHSA-r95w-889q-x2gx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-r95w-889q-x2gx/GHSA-r95w-889q-x2gx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r95w-889q-x2gx
Aliases
Published
2024-09-18T14:26:16Z
Modified
2024-11-18T16:27:14Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
Summary
org.xwiki.platform:xwiki-platform-notifications-ui is missing checks for notification filter preferences editions
Details

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

  • JIRA ticket: https://jira.xwiki.org/browse/XWIKI-20337
  • Commit: e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4

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

Attribution

This vulnerability has been reported on Intigriti by @floerer

Database specific
{
    "nvd_published_at": "2024-09-18T18:15:06Z",
    "cwe_ids": [
        "CWE-648"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-09-18T14:26:16Z"
}
References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-notifications-ui

Package

Name
org.xwiki.platform:xwiki-platform-notifications-ui
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-notifications-ui

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13.2-rc-1
Fixed
14.10.21

Maven / org.xwiki.platform:xwiki-platform-notifications-ui

Package

Name
org.xwiki.platform:xwiki-platform-notifications-ui
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-notifications-ui

Affected ranges

Type
ECOSYSTEM
Events
Introduced
15.0-rc-1
Fixed
15.5.5

Maven / org.xwiki.platform:xwiki-platform-notifications-ui

Package

Name
org.xwiki.platform:xwiki-platform-notifications-ui
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-notifications-ui

Affected ranges

Type
ECOSYSTEM
Events
Introduced
15.6-rc-1
Fixed
15.10.1