kcve.ai취약점 정보 · 내 자산 확인

CVE-2025-24893 Remote code execution as guest via SolrSearchMacros request in xwiki

xwiki에서 SolrSearchMacros 요청을 통해 게스트로 원격 코드 실행

실제 악용 확인(KEV)

설명

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any guest can perform arbitrary remote code execution through a request to `SolrSearch`. This impacts the confidentiality, integrity and availability of the whole XWiki installation. To reproduce on an instance, without being logged in, go to `<host>/xwiki/bin/get/Main/SolrSearch?media=rss&text=%7D%7D%7D%7B%7Basync%20async%3Dfalse%7D%7D%7B%7Bgroovy%7D%7Dprintln%28"Hello%20from"%20%2B%20"%20search%20text%3A"%20%2B%20%2823%20%2B%2019%29%29%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fasync%7D%7D%20`. If there is an output, and the title of the RSS feed contains `Hello from search text:42`, then the instance is vulnerable. This vulnerability has been patched in XWiki 15.10.11, 16.4.1 and 16.5.0RC1. Users are advised to upgrade. Users unable to upgrade may edit `Main.SolrSearchMacros` in `SolrSearchMacros.xml` on line 955 to match the `rawResponse` macro in `macros.vm#L2824` with a content type of `application/xml`, instead of simply outputting the content of the feed.

XWiki 플랫폼은 그 위에 구축 된 응용 프로그램에 대한 런타임 서비스를 제공하는 일반적인 위키 플랫폼입니다. 모든 게스트는 `SolrSearch`에 대한 요청을 통해 임의의 원격 코드 실행을 수행할 수 있습니다. 이는 전체 XWiki 설치의 기밀성, 무결성 및 가용성에 영향을 미칩니다. 인스턴스에서 복제하려면 로그인하지 않고 `<host>/xwiki/bin/get/Main/SolrSearch?media=rss&text=%7D%7D%7B%7B%B%7Bsync%20async%%20async%3Dfalse%7D%7D%7B%7B%2D%2B%7Dprintln%28"Hello%20from%2%%20%B%20%B%20%B 출력이 있고 RSS 피드의 제목에 검색 텍스트 42에서 `Hello`가 포함되어 있으면 인스턴스가 취약합니다. 이 취약점은 XWiki 15.10.11, 16.4.1 및 16.5.0RC1에서 패치되었습니다. 사용자는 업그레이드하는 것이 좋습니다. 업그레이드할 수 없는 사용자는 955번 라인의 `SolrSearchMacros.xml`에서 `Main.SolrSearchMacros`를 편집하여 `macros.vm#L2824`의 `rawResponse` 매크로와 콘텐츠 타입의 `application/xml`을 매칭할 수 있다.

영향 받는 제품 제품 1개

  • xwiki

    xwiki-platform

    해결 버전 있음

    영향 받는 버전

    • 5.3-milestone-2 이상 15.10.11 미만
    • 16.0.0-rc-1 이상 16.4.1 미만

    해결 버전

    • 15.10.11 이상
    • 16.4.1 이상

참고 자료 5건

‹ 목록

점검 지원 범위 문의

도입 문의