xwiki-platform: Improper Restriction of XML External Entity Reference
CVE-2023-27480 is a high-severity improper restriction of XML external entity reference vulnerability in xwiki-platform from XWiki, with a CVSS 3.1 base score of 7.7 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. Affected xwiki-platform versions: >= 1.1-milestone-3, < 13.10.11; >= 14.0.0, < 14.4.7; >= 14.5.0, < 14.10.0-rc-1. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.75% chance of exploitation within 30 days, higher than 55% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Xwiki to 13.10.11 or 14.4.7 or 14.10, whichever matches your release line, or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| XWiki | xwiki-platform | >= 1.1-milestone-3, < 13.10.11; >= 14.0.0, < 14.4.7; >= 14.5.0, < 14.10.0-rc-1 | Not stated |
| XWiki | Xwiki | after 1.1 up to, but not including, 13.10.11; 14.0 up to, but not including, 14.4.7; 14.5 up to, but not including, 14.10; 1.1 | 13.10.11, 14.4.7, 14.10 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- ChangedThe attack can reach beyond the vulnerable component into other systems.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.7 | High | CNA (github.com) |
| CVSS 3.1 | 7.7 | High | NVD |
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with edit rights on a document can trigger an XAR import on a forged XAR file, leading to the ability to display the content of any file on the XWiki server host. This vulnerability has been patched in XWiki 13.10.11, 14.4.7 and 14.10-rc-1. Users are advised to upgrade. Users unable to upgrade may apply the patch `e3527b98fd` manually.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Restriction of XML External Entity Reference
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
How developers prevent this class of flaw
- Many XML parsers and validators can be configured to disable external entity expansion.
More Improper Restriction of XML External Entity Reference vulnerabilities (CWE-611)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-gx4f-976g-7g6vExploit
- jira.xwiki.org/browse/XWIKI-20320Exploit, Issue Tracking
Patches and release notes
Other vulnerabilities in xwiki-platform
- 7.1 High severity
- 8.2 High severity
- 7.5 High severity
- 9.3 Critical severity
- 8.6 High severity
- 7.5 High severity
Recent Improper Restriction of XML External Entity Reference vulnerabilities
- 9.8 Critical severity
- 8.8 High severity
- 9.1 Critical severity
- 8.1 High severity
- 7.4 High severity
- 7.8 High severity
Spotted an error? Tell us.