HexBrain

VK.com · Report #226756

local file disclosure via FFmpeg hls processing

Validstatus
$1,000bounty
78upvotes
24 Jun 2017disclosed

Summary

Vulnerability in FFmpeg.

FFmpeg is video encoding software that is used by VK for preview generation and video conversion. FFmpeg is known to process HLS playlists that may contain references to external files. I was able to fire this feature using GAB2 subtitle chunks inside an AVI file. After that, I was able to retrieve conversion nodes' local files via XBIN codec, resulting in nice hackerish videos with file contents.

This issue was disclosed among others at Phdays conference 2017, the slides are available at https://docs.google.com/presentation/d/1yqWy_aE3dQNXAhW8kxMxRqtP7qMHaIfMzUDpEqFneos/edit, the screenshot of this particular issue (that is, the screenshot of the video showing /etc/passwd from a VK server) is near the end of the presentation.

How it was found

The write-up for this report has not been downloaded yet, or the program disclosed it without one. Read it on HackerOne.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original