CVE-2022-23616: Remote code execution in xwiki-platform
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.84712%
CWE
Published
2/9/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.xwiki.platform:xwiki-platform-administration-ui | maven | >= 3.1-milestone-1, <= 13.0 | 13.1RC1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the ResetPassword feature's use of programming rights during user profile saves. The commit diff shows the patched version replaced 'saveWithProgrammingRights()' with 'saveAsAuthor()', indicating this was the vulnerable method. When combined with user-controlled Groovy scripts in profiles, this function enabled privilege escalation by executing untrusted code with system-level permissions during the password reset operation.