FreeBSD : zgv -- exploitable heap overflows (249a8c42-6973-11d9-ae49-000c41e2cdad)

This script is Copyright (C) 2005-2013 Tenable Network Security, Inc.


Synopsis :

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

Description :

infamous41md reports :

zgv uses malloc() frequently to allocate memory for storing image
data. When calculating how much to allocate, user-supplied data from
image headers is multiplied and/or added without any checks for
arithmetic overflows. We can overflow numerous calculations, and cause
small buffers to be allocated. Then we can overflow the buffer, and
eventually execute code. There are a total of 11 overflows that are
exploitable to execute arbitrary code.

These bugs exist in both zgv and xzgv.

See also :

http://marc.info/?l=bugtraq&m=109886210702781
http://marc.info/?l=bugtraq&m=109898111915661
http://www.nessus.org/u?ff8096ed
http://www.svgalib.org/rus/zgv/
http://www.nessus.org/u?344a1818
http://www.nessus.org/u?97583504

Solution :

Update the affected packages.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 18873 (freebsd_pkg_249a8c42697311d9ae49000c41e2cdad.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0994

Ready to Amp Up Your Nessus Experience?

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

Buy Nessus Professional Now