Improper authorization control for web services In org.xwiki.platform:xwiki-platform-rest-server

Description

XWiki Platform has an Unauthenticated XAR Import via REST /wikis/{wikiName}

Impact

POST /wikis/{wikiName} executes a XAR import without performing any authentication or authorization checks, allowing an unauthenticated attacker to create or update documents in the target wiki

Patches

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.

Workarounds

XWiki is not aware of any workarounds other than adding a rule into an HTTP proxy to prevent access POST request in the /wikis/{wikiName}[/] endpoint.

Resources

For more information

If there are any questions or comments about this advisory:

Attribution

Reported by Sho Odagiri (GMO Cybersecurity by Ierae, Inc.).

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions