FreeBSD : testdisk -- buffer overflow with malicious disk image (c67069dc-0986-11e5-bb90-002590263bf5)

high Nessus Plugin ID 84224

Synopsis

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

Description

CGSecurity TestDisk Changelog reports :

Various fix including security fix, thanks to :

- Coverity scan (Static Analysis of source code)

- afl-fuzz (security-oriented fuzzer).

- Denis Andzakovic from Security Assessment for reporting an exploitable Stack Buffer Overflow.

Denis Andzakovic reports :

A buffer overflow is triggered within the software when a malicious disk image is attempted to be recovered. This may be leveraged by an attacker to crash TestDisk and gain control of program execution. An attacker would have to coerce the victim to run TestDisk against their malicious image.

Solution

Update the affected package.

See Also

https://www.cgsecurity.org/wiki/TestDisk_7.0_Release

http://www.nessus.org/u?70f409e8

http://www.nessus.org/u?266930b1

Plugin Details

Severity: High

ID: 84224

File Name: freebsd_pkg_c67069dc098611e5bb90002590263bf5.nasl

Version: 2.5

Type: local

Published: 6/17/2015

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:testdisk, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 6/16/2015

Vulnerability Publication Date: 4/30/2015