GitHub Advisory Database
GHSA-4x5r-6v26-7j4v
Creation of new database tables through login form on PostgreSQL
Details
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:
- Open an issue in Jira XWiki.org
- Email us at [Security Mailing List](mailto:[email protected])
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-oldcore | All versions before 13.10.8 (fixed in 13.10.8) |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | From 14.0.0 before 14.4.2 (fixed in 14.4.2) |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | From 14.5.0 before 14.6-rc-1 (fixed in 14.6-rc-1) |