Skip to content

Creation of new database tables through login form on PostgreSQL

High
surli published GHSA-4x5r-6v26-7j4v Nov 21, 2022

Package

maven org.xwiki.platform:xwiki-platform-oldcore (Maven)

Affected versions

< 14.4.2, < 14.6-rc-1, < 13.10.8

Patched versions

14.4.2, 14.6-rc-1, 13.10.8

Description

Impact

It's possible to make XWiki create many new schemas and fill them with tables just by using a crafted user identifier in the login form.

Patches

The problem has been patched in XWiki 13.10.8, 14.6RC1 and 14.4.2.

Workarounds

The only workarounds for this are:

  • use an authenticator which does interpret the login as a reference to a document
  • using a different database than PostgreSQL
  • upgrade XWiki

References

https://jira.xwiki.org/browse/XWIKI-19886

For more information

If you have any questions or comments about this advisory:

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2022-41932

Weaknesses