PT-2023-4813 · Xwiki · Xwiki Platform
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L |
Name of the Vulnerable Software and Affected Versions
XWiki Platform versions 2.40m-2 through 14.4.7
XWiki Platform versions 2.40m-2 through 14.10.3
XWiki Platform versions 2.40m-2 through 14.9.x
Description
The issue is related to the lack of measures to neutralize instructions in dynamically executed code, allowing a remote attacker to execute arbitrary code with root privileges. Any user with view rights on any document can execute code with programming rights, leading to remote code execution by crafting a URL with a dangerous payload. For example, an attacker can exploit this by accessing the API endpoint "/xwiki/bin/view/" with a malicious payload.
Recommendations
For versions 2.40m-2 through 14.4.7, update to version 14.4.8 or later.
For versions 2.40m-2 through 14.10.3, update to version 14.10.4 or later.
For versions 2.40m-2 through 14.9.x, update to version 15.0 or later.
As a temporary workaround, consider restricting access to the "/xwiki/bin/view/" API endpoint to minimize the risk of exploitation.
Exploit
Fix
RCE
Eval Injection
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Xwiki Platform