GHSA-pvmm-55r5-g3mm

Suggest an improvement
Source
https://github.com/advisories/GHSA-pvmm-55r5-g3mm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-pvmm-55r5-g3mm/GHSA-pvmm-55r5-g3mm.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-pvmm-55r5-g3mm
Aliases
Published
2024-09-10T15:53:27Z
Modified
2024-09-10T19:01:52Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
XWiki Platform document history including authors of any page exposed to unauthorized actors
Details

Impact

The REST API exposes the history of any page in XWiki of which the attacker knows the name. The exposed information includes for each modification of the page the time of the modification, the version number, the author of the modification (both username and displayed name) and the version comment. This information is exposed regardless of the rights setup, and even when the wiki is configured to be fully private.

On a private wiki, this can be tested by accessing /xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/history, if this shows the history of the main page then the installation is vulnerable.

Patches

This has been patched in XWiki 15.10.9 and XWiki 16.3.0RC1.

Workarounds

There aren't any known workarounds apart from upgrading to a fixed version.

References

  • https://jira.xwiki.org/browse/XWIKI-22052
  • https://github.com/xwiki/xwiki-platform/commit/9cbca9808300797c67779bb9a665d85cf9e3d4b8
Database specific
{
    "nvd_published_at": "2024-09-10T16:15:21Z",
    "cwe_ids": [
        "CWE-359",
        "CWE-862"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-09-10T15:53:27Z"
}
References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-rest-server

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.8.0
Fixed
15.10.9

Maven / org.xwiki.platform:xwiki-platform-rest-server

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
16.0.0-rc-1
Fixed
16.3.0-rc-1