org.xwiki.platform:xwiki-platform-component-wiki provides no warning when granting XWiki.ComponentClass programming right
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-component-wiki Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-component-wiki Maven |
|
|
XWiki is a generic wiki platform. In versions starting from 15.9-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.8.0-rc-1, when a user with programming rights edits a document in XWiki that was last edited by a user without programming rights and contains an XWiki.ComponentClass, there is no warning that this will grant programming rights to this object. An attacker who created such a malicious object could use this to gain programming rights on the wiki. For this, the attacker needs to have edit rights on at least one page to place this object and then get an admin user to edit that document. This issue has been patched in versions 15.10.12, 16.4.3, and 16.8.0-rc-1.
From the CVE record · GitHub_M
Affected XWiki versions do not warn when a user with programming rights edits a document containing an XWiki.ComponentClass that was last edited by a user without programming rights. An attacker with edit rights on at least one page can place a malicious object and gain programming rights if an admin edits that document.
Teams running xwiki-platform with org.xwiki.platform:xwiki-platform-component-wiki versions >=15.9-rc-1 and <15.10.12, >=16.0.0-rc-1 and <16.4.3, or >=16.5.0-rc-1 and <16.8.0-rc-1 should check.