CVE-2024-31996 XWiki Commons missing escaping of `{` in Velocity escapetool allows remote code execution
설명
XWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, the HTML escaping of escaping tool that is used in XWiki doesn't escape `{`, which, when used in certain places, allows XWiki syntax injection and thereby remote code execution. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9 RC1. Apart from upgrading, there is no generic workaround. However, replacing `$escapetool.html` by `$escapetool.xml` in XWiki documents fixes the vulnerability. In a standard XWiki installation, the maintainers are only aware of the document `Panels.PanelLayoutUpdate` that exposes this vulnerability, patching this document is thus a workaround. Any extension could expose this vulnerability and might thus require patching, too.
영향 받는 제품 제품 1개
-
해결 버전 있음
xwiki
xwiki-commons
영향 받는 버전
- 3.0.1 이상 14.10.19 미만
- 15.0-rc-1 이상 15.5.4 미만
- 15.6-rc-1 이상 15.9-rc-1 미만
해결 버전
- 14.10.19 이상
- 15.5.4 이상
- 15.9-rc-1 이상
참고 자료 6건
- github.com https://github.com/xwiki/xwiki-commons/commit/b0805160ec7b01ee12417e79cb384e60ae4817aa (새 창)
- github.com https://github.com/xwiki/xwiki-commons/commit/b94142e2a66ec32e89eacab67c3da8d91f5ef93a (새 창)
- github.com https://github.com/xwiki/xwiki-commons/commit/ed7ff515a2436a1c6dcbd0c6ca0c41e434d58915 (새 창)
- github.com https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-hf43-47q4-fhq5 (새 창)
- jira.xwiki.org https://jira.xwiki.org/browse/XCOMMONS-2828 (새 창)
- jira.xwiki.org https://jira.xwiki.org/browse/XWIKI-21438 (새 창)