VDB
KO
HIGH

GHSA-45ph-gxxr-gwgw

XWiki Platform Live Data Live Table Connector has privilege escalation from edit to script right through Live Data editing

Quick fix

GHSA-45ph-gxxr-gwgw — org.xwiki.platform:xwiki-platform-livedata-livetable: upgrade to the fixed version with the command below.

# pom.xml: bump <version>16.10.17</version> for org.xwiki.platform:xwiki-platform-livedata-livetable

Details

### Impact Any user who can edit a page in XWiki can use Live Data's edit REST API in XWiki to change the rights on that page. This allows the user to obtain script right on the page. Script right allows the user to execute potentially dangerous Velocity scripts and send unfiltered HTML and JavaScript to the client. If there are other security checks, e.g., in extensions, implemented as listeners to `UserUpdatingDocumentEvent` and similar `User…` events, these checks can be circumvented, too.

### Patches This vulnerability has been patched by properly calling all checks in Live Data in XWiki 16.10.17, 17.4.10, 17.10.4 and 18.1.0.

### Workarounds We're not aware of any workarounds apart from upgrading.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.xwiki.platform:xwiki-platform-livedata-livetable
Introduced in: 13.4-rc-1 Fixed in: 16.10.17
Fix # pom.xml: bump <version>16.10.17</version> for org.xwiki.platform:xwiki-platform-livedata-livetable
Maven / org.xwiki.platform:xwiki-platform-livedata-livetable
Introduced in: 17.0.0-rc-1 Fixed in: 17.4.10
Fix # pom.xml: bump <version>17.4.10</version> for org.xwiki.platform:xwiki-platform-livedata-livetable
Maven / org.xwiki.platform:xwiki-platform-livedata-livetable
Introduced in: 17.5.0-rc-1 Fixed in: 17.10.4
Fix # pom.xml: bump <version>17.10.4</version> for org.xwiki.platform:xwiki-platform-livedata-livetable
Maven / org.xwiki.platform:xwiki-platform-livedata-livetable
Introduced in: 18.0.0-rc-1 Fixed in: 18.1.0-rc-1
Fix # pom.xml: bump <version>18.1.0-rc-1</version> for org.xwiki.platform:xwiki-platform-livedata-livetable

References