Vulnerability · Published Sep 8, 2022 · Assigned by GitHub_M
CVE-2022-36092XWiki Platform Old Core vulnerable to Authentication Bypass Using the Login Action
High 7.5
In plain English
A high-severity improper authentication in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform Old Core is a core package for XWiki Platform, a generic wiki platform. Prior to versions 14.2 and 13.10.4, 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, though class and property name must be known. This is also exploitable on private wikis. 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. As a workaround, it would be possible to protect all templates individually by adding code to check access rights first.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 13.10.4 | GHSA-8h89-34w2-jpfm |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 14.2 | GHSA-8h89-34w2-jpfm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | < 13.10.4>= 14.0, < 14.2 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8h89-34w2-jpfm x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/71a6d0bb6f8ab718fcfaae0e9b8c16c2d69cd4bb x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/9b7057d57a941592d763992d4299456300918208 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-18602 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-19549 x_refsource_MISC