GHSA-8h89-34w2-jpfm

Suggest an improvement
Source
https://github.com/advisories/GHSA-8h89-34w2-jpfm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-8h89-34w2-jpfm/GHSA-8h89-34w2-jpfm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8h89-34w2-jpfm
Aliases
Published
2022-09-16T17:06:38Z
Modified
2023-11-08T04:10:00.556810Z
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
XWiki Platform Old Core vulnerable to Authentication Bypass Using the Login Action
Details

Impact

All rights checks that would normally prevent a user from viewing a document on a wiki can be bypassed using the login action and directly specified templates. This exposes title, content and comments of any document and properties of objects (class and property name must be known, though). This is also exploitable on private wikis.

Patches

This has been patched in versions 14.2 and 13.10.4 by properly checking view rights before loading documents and disallowing non-default templates in the login, registration and skin action.

Workarounds

It would be possible to protect all templates individually by adding code to check access rights first, but due to the number of templates and the fact that some of them need to be used without view rights, this seems impractical.

References

  • https://jira.xwiki.org/browse/XWIKI-19549
  • https://jira.xwiki.org/browse/XWIKI-18602

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": "2022-09-08T18:15:00Z",
    "github_reviewed_at": "2022-09-16T17:06:38Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-287"
    ]
}
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
0Unknown introduced version / All previous versions are affected
Fixed
13.10.4

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
14.0
Fixed
14.2