🔍 CVE-2022-36099

9.9
CVSS Score
CRITICAL
2022-09-08
2026-06-17 04:52
✅ 완료

🇰🇷 한글 설명

XWiki Platform의 특정 버전에서 URL 파라미터를 통해 Groovy, Python, Velocity와 같은 임의의 스크립트 구문을 주입할 수 있는 취약점이 발견되었습니다. 공격자는 이를 통해 권한 검사를 우회하고 모든 콘텐츠를 수정하거나 유출할 수 있으며, 서비스 가용성에도 영향을 줄 수 있습니다.

💡 쉬운 설명

웹사이트의 특정 주소를 조작하여 공격자가 원하는 명령어를 실행할 수 있는 보안 구멍이 발견되었습니다. 이를 통해 해커가 사이트의 모든 정보를 훔쳐보거나 내용을 마음대로 바꿀 수 있습니다.

🇺🇸 원문 (English)

XWiki Platform Wiki UI Main Wiki is software for managing subwikis on XWiki Platform, a generic wiki platform. Starting with version 5.3-milestone-2 and prior to versions 13.10.6 and 14.4, it's possible to inject arbitrary wiki syntax including Groovy, Python and Velocity script macros via the request (URL parameter) using the `XWikiServerClassSheet` if the user has view access to this sheet and another page that has been saved with programming rights, a standard condition on a public read-only XWiki installation or a private XWiki installation where the user has an account. This allows arbitrary Groovy/Python/Velocity code execution which allows bypassing all rights checks and thus both modification and disclosure of all content stored in the XWiki installation. Also, this could be used to impact the availability of the wiki. This has been patched in versions 13.10.6 and 14.4. As a workaround, edit the affected document `XWiki.XWikiServerClassSheet` or `WikiManager.XWikiServerClassSheet` and manually perform the changes from the patch fixing the issue. On XWiki versions 12.0 and later, it is also possible to import the document `XWiki.XWikiServerClassSheet` from the xwiki-platform-wiki-ui-mainwiki package version 14.4 using the import feature of the administration application as there have been no other changes to this document since XWiki 12.0.

📍 영향받는 시스템

XWiki Platform 5.3-milestone-2부터 13.10.6 및 14.4 미만 버전

⚔️ 공격 벡터

XWikiServerClassSheet를 대상으로 URL 파라미터에 악성 스크립트 구문을 주입하여 공격

🛡️ 대응 방법

XWiki를 13.10.6 또는 14.4 이상의 버전으로 업데이트하거나, 취약한 문서를 패치된 버전으로 수동 교체

🔧 검증 코드

출력된 결과에서 XWiki 버전이 13.10.6 또는 14.4 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
curl -s http://<target_ip>/xwiki/bin/view/Main/XWikiServerClassSheet | grep -E 'version'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

Python