Headline
GHSA-rwwx-6572-mp29: org.xwiki.platform:xwiki-platform-attachment-api vulnerable to Missing Authorization on Attachment Move
Impact
An attacker with edit access on any document (can be the user profile which is editable by default) can move any attachment of any other document to this attacker-controlled document. This allows the attacker to access and possibly publish any attachment of which the name is known, regardless if the attacker has view or edit rights on the source document of this attachment. Further, the attachment is deleted from the source document. This vulnerability exists since the introduction of attachment move support in XWiki 14.0 RC1.
Patches
This vulnerability has been patched in XWiki 14.4.8, 14.10.4, and 15.0 RC1.
Workarounds
There is no workaround apart from upgrading to a fixed version.
References
- https://jira.xwiki.org/browse/XWIKI-20334
- https://github.com/xwiki/xwiki-platform/commit/d7720219d60d7201c696c3196c9d4a86d0881325
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
Attribution
This vulnerability has been reported on Intigriti by Mete.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2023-37910
org.xwiki.platform:xwiki-platform-attachment-api vulnerable to Missing Authorization on Attachment Move
High severity GitHub Reviewed Published Oct 25, 2023 in xwiki/xwiki-platform • Updated Oct 25, 2023
Package
maven org.xwiki.platform:xwiki-platform-attachment-api (Maven)
Affected versions
>= 14.0-rc-1, < 14.4.8
>= 14.5, < 14.10.4
Patched versions
14.4.8
14.10.4
Published to the GitHub Advisory Database
Oct 25, 2023
Last updated
Oct 25, 2023
Related news
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Starting with the introduction of attachment move support in version 14.0-rc-1 and prior to versions 14.4.8, 14.10.4, and 15.0-rc-1, an attacker with edit access on any document (can be the user profile which is editable by default) can move any attachment of any other document to this attacker-controlled document. This allows the attacker to access and possibly publish any attachment of which the name is known, regardless if the attacker has view or edit rights on the source document of this attachment. Further, the attachment is deleted from the source document. This vulnerability has been patched in XWiki 14.4.8, 14.10.4, and 15.0 RC1. There is no workaround apart from upgrading to a fixed version.