Описание
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
- https://jira.xwiki.org/browse/XWIKI-23953
- https://github.com/xwiki/xwiki-platform/commit/4b7b95b79256374d487e9ece1dc48f527966990f
For more information
If there are any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Send an email to the Security Mailing List
Attribution
Reported by Sho Odagiri (GMO Cybersecurity by Ierae, Inc.).
Пакеты
org.xwiki.platform:xwiki-platform-rest-server
>= 15.10.6, < 16.10.17
16.10.17
org.xwiki.platform:xwiki-platform-rest-server
>= 17.0.0-rc-1, < 17.4.9
17.4.9
org.xwiki.platform:xwiki-platform-rest-server
>= 17.5.0, < 17.10.3
17.10.3
org.xwiki.platform:xwiki-platform-rest-server
>= 18.0.0-rc-1, < 18.1.0-rc-1
18.1.0-rc-1
Связанные уязвимости
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.
Уязвимость платформы создания совместных веб-приложений XWiki Platform XWiki, связанная с отсутствием авторизации, позволяющая нарушителю создать или изменить произвольные файлы