🛡️ CVE-2022-23621 — xwiki
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:
- Open an issue in [Jira XWiki](https://jira.xwiki.org)
- Email us at [our security mailing list](mailto:[email protected])
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
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-oldcore | — | 12.10.9 |
| xwiki | 13.4.4 | 13.7 |
References
Similar Threats
- Medium CVE-2023-32068
- Critical CVE-2023-29526
- Critical CVE-2023-29523
- Medium CVE-2023-29204
- High CVE-2023-29208
More CVE 2022 advisories
Browse all of CVE 2022 in the advisory index.
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.