Lucene search

K
cveGitHub_MCVE-2024-31996
HistoryApr 10, 2024 - 9:15 p.m.

CVE-2024-31996

2024-04-1021:15:07
CWE-95
GitHub_M
web.nvd.nist.gov
53
xwiki platform
version 3.0.1
version 4.10.19
version 15.5.4
version 15.10-rc-1
html escaping
xwiki syntax injection
remote code execution
vulnerability fix
panels.panellayoutupdate

CVSS3

10

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

7.4

Confidence

Low

EPSS

0

Percentile

10.3%

XWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, the HTML escaping of escaping tool that is used in XWiki doesn’t escape {, which, when used in certain places, allows XWiki syntax injection and thereby remote code execution. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9 RC1. Apart from upgrading, there is no generic workaround. However, replacing $escapetool.html by $escapetool.xml in XWiki documents fixes the vulnerability. In a standard XWiki installation, the maintainers are only aware of the document Panels.PanelLayoutUpdate that exposes this vulnerability, patching this document is thus a workaround. Any extension could expose this vulnerability and might thus require patching, too.

Affected configurations

Vulners
Vulnrichment
Node
xwikicommonsRange3.0.114.10.19
OR
xwikicommonsRange15.0-rc-115.5.4
OR
xwikicommonsRange15.6-rc-115.9-rc-1
VendorProductVersionCPE
xwikicommons*cpe:2.3:a:xwiki:commons:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "xwiki",
    "product": "xwiki-commons",
    "versions": [
      {
        "version": ">= 3.0.1, < 14.10.19",
        "status": "affected"
      },
      {
        "version": ">= 15.0-rc-1, < 15.5.4",
        "status": "affected"
      },
      {
        "version": ">= 15.6-rc-1, < 15.9-rc-1",
        "status": "affected"
      }
    ]
  }
]

CVSS3

10

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

7.4

Confidence

Low

EPSS

0

Percentile

10.3%