CVEvulnerability

CVE-2022-23621

4.9 MEDIUM Published 2022-02-09 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-02-09
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
CVSS 3.1 ([email protected])
4.9 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 ([email protected])
4.0 MEDIUM — AV:N/AC:L/Au:S/C:P/I:N/A:N
Weaknesses
CWE-552, CWE-862

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as `$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")`. This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.

Affected configurations

• xwiki xwiki (< 12.10.9) • xwiki xwiki (>= 13.4 < 13.4.3) • xwiki xwiki (>= 13.4.4 <= 13.7)

Related

Weakness · CWE (2)

  • CWE-552 Files or Directories Accessible to External Parties weakness
  • CWE-862 Missing Authorization weakness

References