CVE-2023-37462 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui
org.xwiki.platform:xwiki-platform-skin-ui에서 동적 평가 코드('Eval Injection')의 지시어의 부적절한 중화
설명
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Improper escaping in the document `SkinsCode.XWikiSkinsSheet` leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit `d9c88ddc` can also be applied manually to the impacted document `SkinsCode.XWikiSkinsSheet` and users unable to upgrade are advised to manually patch their installations.
XWiki 플랫폼은 그 위에 구축 된 응용 프로그램에 대한 런타임 서비스를 제공하는 일반적인 위키 플랫폼입니다. 문서 `SkinsCode.XWikiSkinsSheet`에서 부적절하게 이스케이프되면 해당 문서의 오른쪽 보기에서 프로그래밍 권한으로 인젝션 벡터가 생성되거나, 즉 모든 위키 내용에 대한 무제한 읽기 및 쓰기 액세스를 포함한 원격 코드 실행을 허용하는 Groovy 및 Python 매크로를 포함한 임의의 스크립트 매크로를 실행할 수 있습니다. 공격은 위험한 페이로드를 포함하도록 만들어진 이름이 있는 존재하지 않는 페이지를 여는 것으로 작동합니다. 기존 설치가 취약한지 확인할 수 있습니다. 설치 테스트에 대한 지침은 링크된 GHSA를 참조하십시오. 이 문제는 XWiki 14.4.8, 14.10.4 및 15.0-rc-1에서 패치되었습니다. 사용자는 업그레이드하는 것이 좋습니다. 수정 커밋 `d9c88dc`은 영향을받는 문서 `SkinsCode.XWikiSkinsSheet`에도 수동으로 적용 할 수 있으며 업그레이드 할 수없는 사용자는 수동으로 설치를 패치하는 것이 좋습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
xwiki
xwiki-platform
영향 받는 버전
- 7.0-rc-1 이상 14.4.8 미만
- 14.5 이상 14.10.4 미만
해결 버전
- 14.4.8 이상
- 14.10.4 이상