testdisk -- buffer overflow with malicious disk image

2015-04-30T00:00:00
ID C67069DC-0986-11E5-BB90-002590263BF5
Type freebsd
Reporter FreeBSD
Modified 2015-04-30T00:00:00

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.