XWiki Platform has an Unauthenticated XAR Import via REST /wikis/{wikiName}
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-rest-server Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-rest-server Maven |
|
|
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki Platform is a generic wiki platform. In versions starting with 15.10.6 and prior to 18.1.0-rc-1, 17.10.3, 17.4.9, and 16.10.17, the POST /wikis/{wikiName} API executes a XAR import without performing any authentication or authorization checks, allowing an unauthenticated attacker to create or update documents in the target wiki. This vulnerability has been patched in XWiki 16.10.17, 17.4.9, 17.10.3, 18.0.1 and 18.1.0-rc-1.
From the CVE record · GitHub_M
The POST /wikis/{wikiName} API imports XAR files without authentication or authorization checks. An unauthenticated attacker with network access to the API can create or update documents in the target wiki; no user interaction is required.
Teams running the Maven package org.xwiki.platform:xwiki-platform-rest-server in versions >=15.10.6 <16.10.17, >=17.0.0-rc-1 <17.4.9, >=17.5.0 <17.10.3, or >=18.0.0-rc-1 <18.1.0-rc-1 should check their deployments.