XWiki missing authorization when accessing the wiki level attachments list and metadata via REST API
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 is a generic wiki platform. In versions starting from 1.8.1 to before 14.10.22, from 15.0-rc-1 to before 15.10.12, from 16.0.0-rc-1 to before 16.4.3, and from 16.5.0-rc-1 to before 16.7.0, anyone can access the metadata of any attachment in the wiki using the wiki attachment REST endpoint. There is no filtering for the results depending on current user rights, meaning an unauthenticated user could exploit this even in a private wiki. This issue has been patched in versions 14.10.22, 15.10.12, 16.4.3, and 16.7.0.
From the CVE record · GitHub_M
The XWiki attachment REST endpoint does not filter attachment metadata by the current user's rights. An unauthenticated user can access metadata for any attachment, even in a private wiki; no user interaction is required.
Operators running XWiki with Maven package org.xwiki.platform:xwiki-platform-rest-server in versions >=1.8.1 <14.10.22, >=15.0-rc-1 <15.10.12, >=16.0.0-rc-1 <16.4.3, or >=16.5.0-rc-1 <16.7.0 should check their deployments.