GHSA-m3c3-9qj7-7xmx

Suggest an improvement
Source
https://github.com/advisories/GHSA-m3c3-9qj7-7xmx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-m3c3-9qj7-7xmx/GHSA-m3c3-9qj7-7xmx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m3c3-9qj7-7xmx
Aliases
Published
2023-04-20T22:01:35Z
Modified
2023-11-08T04:12:19.956646Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Exposure of Sensitive Information to an Unauthorized Actor in org.xwiki.platform:xwiki-platform-office-viewer
Details

Impact

The office document viewer macro was allowing anyone to see any file content from the hosting server, provided that the office server was connected and depending on the permissions of the user running the servlet engine (e.g. tomcat) running XWiki. The same vulnerability also allowed to perform internal requests to resources from the hosting server.

Patches

The problem has been patched in XWiki 13.10.11, 14.10.1, 14.4.8, 15.0-rc-1.

Workarounds

It might be possible to workaround this vulnerability by running XWiki in a sandbox with a user with very low privileges on the machine, now to run a servlet engine the user will always need access to some files, so in any case this workaround won't protect all files to be accessed.

References

  • Original jira ticket: https://jira.xwiki.org/browse/XWIKI-20447
  • Jira ticket related to another exploit using same root cause: https://jira.xwiki.org/browse/XWIKI-20324
  • Jira ticket related to the possibility to exploit the same vulnerability to perform internal requests: https://jira.xwiki.org/browse/XWIKI-20449

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

Database specific
{
    "nvd_published_at": "2023-04-19T00:15:08Z",
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-04-20T22:01:35Z"
}
References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-office-viewer

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.5-milestone-2
Fixed
13.10.11

Maven / org.xwiki.platform:xwiki-platform-office-viewer

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.0-rc-1
Fixed
14.4.8

Maven / org.xwiki.platform:xwiki-platform-office-viewer

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.5
Fixed
14.10.1