From: Xen.org security team Subject: Xen Security Advisory 122 (CVE-2015-2045) - Information leak through version information hypercall Date: Thu, 05 Mar 2015 12:19:08 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=separator"; charset="utf-8" Content-Transfer-Encoding: binary Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-announce@lists.xen.org, xen-devel@lists.xen.org, xen-users@lists.xen.org, oss-security@lists.openwall.com Cc: "Xen.org security team" List-Id: xen-devel@lists.xenproject.org --=separator Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Xen Security Advisory CVE-2015-2045 / XSA-122 version 3 Information leak through version information hypercall UPDATES IN VERSION 3 ==================== Public release. ISSUE DESCRIPTION ================= The code handling certain sub-operations of the HYPERVISOR_xen_version hypercall fails to fully initialize all fields of structures subsequently copied back to guest memory. Due to this hypervisor stack contents are copied into the destination of the operation, thus becoming visible to the guest. IMPACT ====== A malicious guest might be able to read sensitive data relating to other guests. VULNERABLE SYSTEMS ================== Xen 3.2.x and later are vulnerable. Xen 3.1.x and earlier have not been inspected. MITIGATION ========== There is no mitigation available for this issue. CREDITS ======= This issue was discovered by Aaron Adams of NCC Group. RESOLUTION ========== Applying the attached patch resolves this issue. xsa122.patch xen-unstable, Xen 4.5.x, Xen 4.4.x, Xen 4.3.x, Xen 4.2.x $ sha256sum xsa122*.patch 13404ef363ee347db1571ee91afaa962a68e616a7596c2441a29e26f6db9ec47 xsa122.patch $ DEPLOYMENT DURING EMBARGO ========================= Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators. Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team. (Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJU+EmQAAoJEIP+FMlX6CvZZxIIAJVuGIRZ1dEiX1VPY71dZ52t CSIBfHMpynwxT7oUwbw/Akk3d1M/uAV/8QvM1DoG9//U6hQgZfY5UVn3Ihp1k7Fy BitDKdDn3T10ys/URtotX+8+Alm1diM/6sIrAF5kG3IBf0VCkEaV5jVI0ZIuee5u AOHhj9HJN9bPRGSTlNlkRx0Tjlw8Worrluex2romagALxLEXYejOM8syuQl5qSFj VdqhNvmZV23664ZTrgSZxU17O+AajMNi+M9sYUFSPfAA8VHu42G7Ox4CqY7pxyg7 b9g2BgVVWRkZIhZPYeEr3RcxNP7wITAeFYP18c48VBd6gmHYK9sSwwSoXgYGuwE= =ddMG -----END PGP SIGNATURE----- --=separator Content-Type: application/octet-stream; name="xsa122.patch" Content-Disposition: attachment; filename="xsa122.patch" Content-Transfer-Encoding: base64 cHJlLWZpbGwgc3RydWN0dXJlcyBmb3IgY2VydGFpbiBIWVBFUlZJU09SX3hl bl92ZXJzaW9uIHN1Yi1vcHMKCi4uLiBhdm9pZGluZyB0byBwYXNzIGh5cGVy dmlzb3Igc3RhY2sgY29udGVudHMgYmFjayB0byB0aGUgY2FsbGVyCnRocm91 Z2ggc3BhY2UgdW51c2VkIGJ5IHRoZSByZXNwZWN0aXZlIHN0cmluZ3MuCgpU aGlzIGlzIENWRS0yMDE1LTIwNDUgLyBYU0EtMTIyLgoKU2lnbmVkLW9mZi1i eTogQWFyb24gQWRhbXMgPEFhcm9uLkFkYW1zQG5jY2dyb3VwLmNvbT4KQWNr ZWQtYnk6IEphbiBCZXVsaWNoIDxqYmV1bGljaEBzdXNlLmNvbT4KQWNrZWQt Ynk6IElhbiBDYW1wYmVsbCA8aWFuLmNhbXBiZWxsQGNpdHJpeC5jb20+Cgot LS0gYS94ZW4vY29tbW9uL2tlcm5lbC5jCisrKyBiL3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hhbmdlc2V0OgogICAgIHsKICAgICAgICAgeGVuX2NoYW5nZXNldF9pbmZv X3QgY2hnc2V0OworCisgICAgICAgIG1lbXNldChjaGdzZXQsIDAsIHNpemVv ZihjaGdzZXQpKTsKICAgICAgICAgc2FmZV9zdHJjcHkoY2hnc2V0LCB4ZW5f Y2hhbmdlc2V0KCkpOwogICAgICAgICBpZiAoIGNvcHlfdG9fZ3Vlc3QoYXJn LCBjaGdzZXQsIEFSUkFZX1NJWkUoY2hnc2V0KSkgKQogICAgICAgICAgICAg cmV0dXJuIC1FRkFVTFQ7Cg== --=separator Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=separator--