{"id":62214,"date":"2025-02-24T01:41:19","date_gmt":"2025-02-23T22:41:19","guid":{"rendered":"https:\/\/www.tenable.com\/cve\/CVE-2025-24893"},"modified":"2025-02-24T01:41:19","modified_gmt":"2025-02-23T22:41:19","slug":"cve-2025-24893","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-24893\/","title":{"rendered":"CVE-2025-24893"},"content":{"rendered":"<h4 class=\"border-bottom pb-1\">Description<\/h4>\n<p>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 `&lt;host&gt;\/xwiki\/bin\/get\/Main\/SolrSearch?media=rss&amp;text=%7D%7D%7D%7B%7Basync%20async%3Dfalse%7D%7D%7B%7Bgroovy%7D%7Dprintln%28&#8243;Hello%20from&#8221;%20%2B%20&#8243;%20search%20text%3A&#8221;%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.<\/p>\n<h4 class=\"border-bottom pb-1\">References<\/h4>\n<p><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/jira.xwiki.org\/browse\/XWIKI-22149\">https:\/\/jira.xwiki.org\/browse\/XWIKI-22149<\/a><\/p>\n<p><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/xwiki\/xwiki-platform\/security\/advisories\/GHSA-rr6p-3pfg-562j\">https:\/\/github.com\/xwiki\/xwiki-platform\/security\/advisories\/GHSA-rr6p-3pfg-562j<\/a><\/p>\n<p><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/xwiki\/xwiki-platform\/commit\/67021db9b8ed26c2236a653269302a86bf01ef40\">https:\/\/github.com\/xwiki\/xwiki-platform\/commit\/67021db9b8ed26c2236a653269302a86bf01ef40<\/a><\/p>\n<p><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/xwiki\/xwiki-platform\/blob\/67021db9b8ed26c2236a653269302a86bf01ef40\/xwiki-platform-core\/xwiki-platform-web\/xwiki-platform-web-templates\/src\/main\/resources\/templates\/macros.vm#L2824\">https:\/\/github.com\/xwiki\/xwiki-platform\/blob\/67021db9b8ed26c2236a653269302a86bf01ef40\/xwiki-platform-core\/xwiki-platform-web\/xwiki-platform-web-templates\/src\/main\/resources\/templates\/macros.vm#L2824<\/a><\/p>\n<p><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/xwiki\/xwiki-platform\/blob\/568447cad5172d97d6bbcfda9f6183689c2cf086\/xwiki-platform-core\/xwiki-platform-search\/xwiki-platform-search-solr\/xwiki-platform-search-solr-ui\/src\/main\/resources\/Main\/SolrSearchMacros.xml#L955\">https:\/\/github.com\/xwiki\/xwiki-platform\/blob\/568447cad5172d97d6bbcfda9f6183689c2cf086\/xwiki-platform-core\/xwiki-platform-search\/xwiki-platform-search-solr\/xwiki-platform-search-solr-ui\/src\/main\/resources\/Main\/SolrSearchMacros.xml#L955<\/a><\/p>\n<p>\u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0648 \u062b\u0628\u062a \u062f\u0627\u0645\u0646\u0647 &#8211; \u0622\u0641\u0627\u0642 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description 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 `&lt;host&gt;\/xwiki\/bin\/get\/Main\/SolrSearch?media=rss&amp;text=%7D%7D%7D%7B%7Basync%20async%3Dfalse%7D%7D%7B%7Bgroovy%7D%7Dprintln%28&#8243;Hello%20from&#8221;%20%2B%20&#8243;%20search%20text%3A&#8221;%20%2B%20%2823%20%2B%2019%29%29%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fasync%7D%7D%20`. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[663,236,661,662],"class_list":["post-62214","post","type-post","status-publish","format-standard","hentry","category-vulnerability","tag-cve","tag-236","tag-661","tag-662"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/62214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=62214"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/62214\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=62214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=62214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=62214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}