🛡️ CVE-2022-23621 — xwiki

🟡 CVSS 5.5 — Medium ✅ No Known Exploit CWE-552 NVD
5.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Missing authorization in xwiki-platform

Impact

Any user with SCRIPT right (EDIT right before XWiki 7.4) can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString:

```

$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")

```

Patches

It has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1.

Workarounds

The only workaround is to give SCRIPT right only to trusted users.

References

https://jira.xwiki.org/browse/XWIKI-18870

For more information

If you have any questions or comments about this advisory:

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs administrative privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability high.

Weakness class

CVE-2022-23621 is classified as CWE-552: Files or Directories Accessible to External Parties. Files intended to stay internal are reachable from outside the application.

Affected software

CVE-2022-23621 is recorded against 2 packages.

  • org.xwiki.platform:xwiki-platform-oldcore (fixed in 12.10.9)
  • xwiki (from 13.4.4 up to 13.7)

Timeline and source

Published on 9 February 2022 and last revised on 8 November 2023. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
jira.xwiki.org (Web)

Details

Severity Medium
CVSS Score 5.5
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
CWE CWE-552
Public Exploit ✅ No
Source NVD
Published 2022-02-09
Updated 2026-08-12
Modified 2023-11-08

Affected Packages

Software From version Fixed in
org.xwiki.platform:xwiki-platform-oldcore 12.10.9
xwiki 13.4.4 13.7

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in xwiki

CVE-2022-23621 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.