FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

testdisk -- buffer overflow with malicious disk image

Affected packages
testdisk < 7.0

Details

VuXML ID c67069dc-0986-11e5-bb90-002590263bf5
Discovery 2015-04-30
Entry 2015-06-16

CGSecurity TestDisk Changelog reports:

Various fix including security fix, thanks to:

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.

References

URL http://www.cgsecurity.org/wiki/TestDisk_7.0_Release
URL http://www.security-assessment.com/files/documents/advisory/Testdisk%20Check_OS2MB%20Stack%20Buffer%20Overflow%20-%20Release.pdf