FreeBSD : qemu and xen-tools -- denial of service vulnerabilities in AMD PC-Net II NIC support (405446f4-b1b3-11e5-9728-002590263bf5)

This script is Copyright (C) 2016 Tenable Network Security, Inc.


Synopsis :

The remote FreeBSD host is missing one or more security-related
updates.

Description :

Prasad J Pandit, Red Hat Product Security Team, reports :

Qemu emulator built with the AMD PC-Net II Ethernet Controller support
is vulnerable to a heap buffer overflow flaw. While receiving packets
in the loopback mode, it appends CRC code to the receive buffer. If
the data size given is same as the receive buffer size, the appended
CRC code overwrites 4 bytes beyond this 's->buffer' array.

A privileged(CAP_SYS_RAWIO) user inside guest could use this flaw to
crash the Qemu instance resulting in DoS or potentially execute
arbitrary code with privileges of the Qemu process on the host.

The AMD PC-Net II emulator(hw/net/pcnet.c), while receiving packets
from a remote host(non-loopback mode), fails to validate the received
data size, thus resulting in a buffer overflow issue. It could
potentially lead to arbitrary code execution on the host, with
privileges of the Qemu process. It requires the guest NIC to have
larger MTU limit.

A remote user could use this flaw to crash the guest instance
resulting in DoS or potentially execute arbitrary code on a remote
host with privileges of the Qemu process.

See also :

http://www.openwall.com/lists/oss-security/2015/11/30/2
http://www.openwall.com/lists/oss-security/2015/11/30/3
http://www.nessus.org/u?ccdde197
http://www.nessus.org/u?e630ef6e
http://www.nessus.org/u?81b29577
http://www.nessus.org/u?98c7fdb7
http://xenbits.xen.org/xsa/advisory-162.html
http://www.nessus.org/u?2b66ff50

Solution :

Update the affected packages.

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 87691 ()

Bugtraq ID:

CVE ID: CVE-2015-7504
CVE-2015-7512

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now