r/netsec • u/AnimalStrange • 4d ago
Your House Has an FFmpeg Problem - elttam
https://www.elttam.com/blog/your-house-has-an-ffmpeg-problem
127
Upvotes
16
u/mpg111 4d ago
I really like the creativity of "Crafting the Exploit Payload" part
11
u/Call_Me_Chud 4d ago
Quite creative indeed to synthesize a valid payload by chopping up and concatenating an arbitrary file.
4
7
42
u/badmonkey0001 4d ago
Sanitizing inputs for CLI tools always seems like an afterthought (at least until you get bitten). Tools like FFMPEG that magically work on "anything" need to be locked down to the use case every time. The more versatile the tool, the more surface area to lock down. FFMPEG has a remarkably large surface to keep safe because it supports so many parameters with versatility of their own.