CVE-2022-41931 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwiki-platform-icon-ui
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
xwiki-platform-icon-ui is vulnerable to Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'). Any user with view rights on commonly accessible documents including the icon picker macro can execute arbitrary Groovy, Python or Velocity code in XWiki due to improper neutralization of the macro parameters of the icon picker macro. The problem has been patched in XWiki 13.10.7, 14.5 and 14.4.2. Workarounds: The patch can be manually applied by editing IconThemesCode.IconPickerMacro in the object editor. The whole document can also be replaced by the current version by importing the document from the XAR archive of a fixed version as the only changes to the document have been security fixes and small formatting changes.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.platform/xwiki-platform-icon-ui(Maven) | >= 6.4-milestone-2, < 13.10.7; >= 14.0.0, < 14.4.2 | 13.10.7, 14.4.2 | Fixed |
| xwiki | = 6.4-milestone2; = 6.4-milestone3; = 14.4.3; = 14.4.4 +2 more | 13.10.7, 14.4.2 | Fixed |
| xwiki-platform | = >= 6.4-milestone-2, < 13.10.7; = >= 14.0.0, < 14.4.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform/xwiki-platform-icon-ui(Maven) | >= 6.4-milestone-2, < 13.10.7 | 13.10.7 |
| org.xwiki.platform/xwiki-platform-icon-ui(Maven) | >= 14.0.0, < 14.4.2 | 14.4.2 |
| xwiki-platform | = >= 6.4-milestone-2, < 13.10.7 | No fix listed |
| xwiki-platform | = >= 14.0.0, < 14.4.2 | No fix listed |
| xwiki | >= 6.4, < 13.10.7 | 13.10.7 |
| xwiki | >= 14.0.0, < 14.4.2 | 14.4.2 |
| xwiki | = 6.4-milestone2 | No fix listed |
| xwiki | = 6.4-milestone3 | No fix listed |
| xwiki | = 14.4.3 | No fix listed |
| xwiki | = 14.4.4 | No fix listed |
References
- github.com exploit patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- jira.xwiki.org exploit issue-tracking patch vendor-advisory
- github.com
- github.com product