Lucene search

K
githubGitHub Advisory DatabaseGHSA-3HJG-CGHV-22WW
HistoryApr 20, 2023 - 10:04 p.m.

org.xwiki.platform:xwiki-platform-attachment-ui vulnerable to Code Injection

2023-04-2022:04:49
CWE-74
GitHub Advisory Database
github.com
12
remote code execution
privilege escalation
attachment selector
xwiki
patch
workaround

CVSS3

9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

EPSS

0.004

Percentile

72.7%

Impact

A registered user can perform remote code execution leading to privilege escalation by injecting the proper code in the “property” field of an attachment selector, as a gadget of their own dashboard. Note that the vulnerability does not impact comments of a wiki.

Patches

The vulnerability has been patched in XWiki 13.10.11, 14.4.8, 14.10.2, 15.0-rc-1.

Workarounds

The problem can be worked around by applying following changes directly in XWiki.AttachmentSelector page: https://github.com/xwiki/xwiki-platform/commit/5e8725b4272cd3e5be09d3ca84273be2da6869c1.

References

For more information

If you have any questions or comments about this advisory:

Affected configurations

Vulners
Node
org.xwiki.platformxwiki-platform-attachment-uiRange14.514.10.2
OR
org.xwiki.platformxwiki-platform-attachment-uiRange14.0-rc-114.4.8
OR
org.xwiki.platformxwiki-platform-attachment-uiRange3.0-rc-113.10.11
VendorProductVersionCPE
org.xwiki.platformxwiki-platform-attachment-ui*cpe:2.3:a:org.xwiki.platform:xwiki-platform-attachment-ui:*:*:*:*:*:*:*:*

CVSS3

9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

EPSS

0.004

Percentile

72.7%

Related for GHSA-3HJG-CGHV-22WW