Lucene search

K
osvGoogleOSV:GHSA-P67Q-H88V-5JGR
HistoryApr 20, 2023 - 10:06 p.m.

XWiki Platform vulnerable to code injection from account/view through VFS Tree macro

2023-04-2022:06:19
Google
osv.dev
9
xwiki platform
code injection
vfs tree macro
security patch
jira
github
macro escaping

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.002 Low

EPSS

Percentile

54.1%

Impact

Any user with view rights can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of Macro.VFSTreeMacro. This page is not installed by default.

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

Patches

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

Workarounds

The issue can be fixed by applying this patch on Macro.VFSTreeMacro.

References

For more information

If you have any questions or comments about this advisory:

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.002 Low

EPSS

Percentile

54.1%

Related for OSV:GHSA-P67Q-H88V-5JGR