CVE-2022-23621
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. High risk of service disruption.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-862 · Missing authorization
- Record status
- Modified
Affected
- Xwiki < 12.10.9
- Xwiki < 13.4.3
- Xwiki ≤ 13.7
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-23621.md and follow it. Check whether this project is affected by CVE-2022-23621. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j
- https://jira.xwiki.org/browse/XWIKI-18870
- https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j
- https://jira.xwiki.org/browse/XWIKI-18870
References
- https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j
- https://jira.xwiki.org/browse/XWIKI-18870
- https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j
- https://jira.xwiki.org/browse/XWIKI-18870