CVE-2022-36093

Improper Authentication in maven/org.xwiki.platform/xwiki-platform-web-templates

Identifiers

GHSA-h5j3-5x63-p8jv, CVE-2022-36093

Package Slug

maven/org.xwiki.platform/xwiki-platform-web-templates

Vulnerability

Improper Authentication

Description

XWiki Platform Web Templates are templates for XWiki Platform, a generic wiki platform. By passing a template of the distribution wizard to the xpart template, user accounts can be created even when user registration is disabled. This also circumvents any email verification. Before versions 14.2 and 13.10.4, this can also be exploited on a private wiki, thus potentially giving the attacker access to the wiki. Depending on the configured default rights of users, this could also give attackers write access to an otherwise read-only public wiki. Users can also be created when an external authentication system like LDAP is configured, but authentication fails unless the authentication system supports a bypass/local accounts are enabled in addition to the external authentication system. This issue has been patched in XWiki 13.10.5 and 14.3RC1. As a workaround, one may replace xpart.vm, the entry point for this attack, by a patched version from the patch without updating XWiki.

Affected Versions

All versions before 13.10.5, all versions starting from 14.0 before 14.3-rc-1

Solution

Upgrade to versions 13.10.5, 14.3-rc-1 or above. Note: 14.3-rc-1 may be an unstable version. Use caution.

Last Modified

2022-09-19

source