FreeBSD : png -- unknown chunk processing uninitialized memory access (57c705d6-12ae-11dd-bab7-0016179b2dd5)

high Nessus Plugin ID 32110

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Secunia reports :

Tavis Ormandy has reported a vulnerability in libpng, which can be exploited by malicious people to cause a Denial of Service, disclose potentially sensitive information, or potentially compromise an application using the library.

The vulnerability is caused due to the improper handling of PNG chunks unknown to the library. This can be exploited to trigger the use of uninitialized memory in e.g. a free() call via unknown PNG chunks having a length of zero.

Successful exploitation may allow execution of arbitrary code, but requires that the application calls the png_set_read_user_chunk_fn() function or the png_set_keep_unknown_chunks() function under specific conditions.

Solution

Update the affected package.

See Also

https://libpng.sourceforge.io/Advisory-1.2.26.txt

http://www.nessus.org/u?057c0421

Plugin Details

Severity: High

ID: 32110

File Name: freebsd_pkg_57c705d612ae11ddbab70016179b2dd5.nasl

Version: 1.17

Type: local

Published: 5/1/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:png, 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: 4/25/2008

Vulnerability Publication Date: 4/12/2008

Reference Information

CVE: CVE-2008-1382

BID: 28770

CWE: 189

Secunia: 29792