GHSA-9qrp-h7fw-42hg

Suggest an improvement
Source
https://github.com/advisories/GHSA-9qrp-h7fw-42hg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-9qrp-h7fw-42hg/GHSA-9qrp-h7fw-42hg.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-9qrp-h7fw-42hg
Aliases
Published
2022-06-01T19:56:34Z
Modified
2023-11-01T04:58:44.142874Z
Severity
  • 2.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Path Traversal in XWiki Platform
Details

Impact

One can ask for any file located in the classloader using the template API and a path with ".." in it. For example

{{template name="../xwiki.hbm.xml"/}}

To our knownledge none of the available files of the classloader in XWiki Standard contain any strong confidential data, hence the low confidentiality value of this advisory.

Patches

The issue is patched in versions 14.0 and 13.10.3.

Workarounds

There's no easy workaround for this issue, administrators should upgrade their wiki.

References

  • https://jira.xwiki.org/browse/XWIKI-19349
  • https://github.com/xwiki/xwiki-platform/commit/4917c8f355717bb636d763844528b1fe0f95e8e2

For more information

If you have any questions or comments about this advisory: * Open an issue in Jira XWiki * Email us at security mailing list

Database specific
{
    "nvd_published_at": "2022-05-25T21:15:00Z",
    "github_reviewed_at": "2022-06-01T19:56:34Z",
    "severity": "LOW",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22",
        "CWE-24"
    ]
}
References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-oldcore

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.3-rc-1
Fixed
13.10.3