PT-2023-22289 · Xwiki · Xwiki
Thomas Mortagne
·
Published
2023-04-12
·
Updated
2023-04-26
·
CVE-2023-29507
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
XWiki versions prior to 14.4.7
XWiki versions prior to 14.10
Description
The Document script API returns directly a DocumentAuthors, allowing to set any authors to the document. This can allow subsequent executions of scripts since this author is used for checking rights. An example of such an attack involves setting the content author to 'xwiki:XWiki.superadmin' using the
velocity template engine and the setContentAuthor method.Recommendations
For versions prior to 14.4.7, update to version 14.4.7 or later to patch the issue.
For versions prior to 14.10, update to version 14.10 or later to patch the issue.
As a temporary workaround, consider restricting the use of the Document script API until a patch is available.
Avoid using the
authors variable in the affected API endpoint until the issue is resolved.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Xwiki