FreeBSD : xloadimage -- buffer overflows in NIFF image title handling (2f0cb4bb-416d-11da-99fe-000854d03344)

medium Nessus Plugin ID 21409

Synopsis

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

Description

Ariel Berkman reports :

Unlike most of the supported image formats in xloadimage, the NIFF image format can store a title name of arbitrary length as part of the image file.

When xloadimage is processing a loaded image, it is creating a new Image object and then writing the processed image to it. At that point, it will also copy the title from the old image to the newly created image.

The 'zoom', 'reduce', and 'rotate' functions are using a fixed length buffer to construct the new title name when an image processing is done. Since the title name in a NIFF format is of varying length, and there are insufficient buffer size validations, the buffer can be overflowed.

Solution

Update the affected packages.

See Also

https://marc.info/?l=bugtraq&m=112862493918840&w=2

http://www.nessus.org/u?b4bc5586

Plugin Details

Severity: Medium

ID: 21409

File Name: freebsd_pkg_2f0cb4bb416d11da99fe000854d03344.nasl

Version: 1.16

Type: local

Published: 5/13/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4.4

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:xli, p-cpe:/a:freebsd:freebsd:xloadimage, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 10/20/2005

Vulnerability Publication Date: 10/5/2005

Reference Information

CVE: CVE-2005-3178

BID: 15051