Privilege escalation in Xen
CVE-2020-29481
An issue was discovered in Xen through 4.14.x. Access rights of Xenstore nodes are per domid. Unfortunately, existing granted access rights are not removed when a domain is being destroyed. This means that a new domain created with the same domid will inherit the access rights to Xenstore nodes from the previous domain(s) with the same domid. Because all Xenstore entries of a guest below /local/domain/<domid> are being deleted by Xen tools when a guest is destroyed, only Xenstore entries of other guests still running are affected. For example, a newly created guest domain might be able to read sensitive information that had belonged to a previously existing guest domain. Both Xenstore implementations (C and Ocaml) are vulnerable.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 29.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xen
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 32, 33
Weakness classification (CWE)
References
- xenbits.xenproject.org/xsa/advisory-322.html (Patch, Vendor Advisory)
- DSA-4812 (vendor-advisory, Third Party Advisory)
- [oss-security] 20201216 Xen Security Advisory 322 v5 (CVE-2020-29481) - Xenstore: new domains inheriting existing node permissions (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2020-64859a826b (vendor-advisory)
- FEDORA-2020-df772b417b (vendor-advisory)