Lucene search

K
osvGoogleOSV:GHSA-3989-4C6X-725F
HistoryApr 20, 2023 - 10:00 p.m.

XWiki Platform vulnerable to privilege escalation from view right on XWiki.AttachmentSelector

2023-04-2022:00:14
Google
osv.dev
4
xwiki platform
privilege escalation
vulnerability
patched
xwiki.attachmentselector
groovy
python
velocity
security advisory
jira xwiki.org

9.9 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

LOW

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

0.002 Low

EPSS

Percentile

54.1%

Impact

Any user with view rights on XWiki.AttachmentSelector can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping in the “Cancel and return to page” button. This page is installed by default.

See https://jira.xwiki.org/browse/XWIKI-20275 for the reproduction steps.

Patches

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

Workarounds

The issue can be fixed by applying this patch on XWiki.AttachmentSelector.

References

For more information

If you have any questions or comments about this advisory:

9.9 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

LOW

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

0.002 Low

EPSS

Percentile

54.1%

Related for OSV:GHSA-3989-4C6X-725F