Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-8h89-34w2-jpfm: XWiki Platform Old Core vulnerable to Authentication Bypass Using the Login Action

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:

ghsa
#perl#auth#jira

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

References

  • GHSA-8h89-34w2-jpfm
  • https://nvd.nist.gov/vuln/detail/CVE-2022-36092
  • xwiki/xwiki-platform@71a6d0b
  • xwiki/xwiki-platform@9b7057d
  • https://jira.xwiki.org/browse/XWIKI-18602
  • https://jira.xwiki.org/browse/XWIKI-19549

Related news

CVE-2022-36092: Authentication Bypass Using the Login Action in org.xwiki.platform:xwiki-platform-oldcore

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.