Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-h5j3-5x63-p8jv: XWiki Platform Web Templates vulnerable to Unauthorized User Registration Through the Distribution Wizard

Impact

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.

Patches

This issue has been patched in XWiki 13.10.5 and 14.3RC1.

Workarounds

It is possible to replace xpart.vm, the entry point for this attack, by a patched version from the patch without updating XWiki.

References

  • https://jira.xwiki.org/browse/XWIKI-19558

For more information

If you have any questions or comments about this advisory:

ghsa
#web#git#ldap#auth#jira

Impact

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.

Patches

This issue has been patched in XWiki 13.10.5 and 14.3RC1.

Workarounds

It is possible to replace xpart.vm, the entry point for this attack, by a patched version from the patch without updating XWiki.

References

  • https://jira.xwiki.org/browse/XWIKI-19558

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-h5j3-5x63-p8jv
  • https://nvd.nist.gov/vuln/detail/CVE-2022-36093
  • xwiki/xwiki-platform@70c64c2
  • https://jira.xwiki.org/browse/XWIKI-19558

Related news

CVE-2022-36093: XWIKI-19558: Only load vm templates in xpart.vm · xwiki/xwiki-platform@70c64c2

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.