XWiki Platform: Password and email exposure in xml.vm fields
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-oldcore Maven |
|
|
| org.xwiki.platform:xwiki-platform-legacy-oldcore |
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-oldcore Maven |
|
|
| org.xwiki.platform:xwiki-platform-legacy-oldcore |
|
|
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki Platform Legacy Old Core and XWiki Platform Old Core versions 1.1 through 16.4.6, 16.5.0-rc-1 through 16.10.4 and 17.0.0-rc-1 through 17.1.0, the XML export of a page in XWiki that can be triggered by any user with view rights on a page by appending ?xpage=xml to the URL includes password and email properties stored on a document that aren't named password or email. This is fixed in versions 16.4.7, 16.10.5 and 17.2.0-rc-1. To work around this issue, the file templates/xml.vm in the deployed WAR can be deleted if the XML isn't needed. There isn't any feature in XWiki itself that depends on the XML export.
From the CVE record · GitHub_M
The page XML export in XWiki Platform Old Core and Legacy Old Core can include password and email properties stored on a document when those properties have other names. Any user with view rights on a page can trigger the export by appending ?xpage=xml to its URL; no further user interaction is required.
Teams running Maven packages org.xwiki.platform:xwiki-platform-oldcore or org.xwiki.platform:xwiki-platform-legacy-oldcore should check versions >=1.1 <16.4.7, >=16.5.0-rc-1 <16.10.5, and >=17.0.0-rc-1 <17.2.0-rc-1.