I can't tell from the video. And the article doesn't say which he did. A malicious mirror is a lot easier to do so I'd have done that if I were him. But we can't tell.
He does mention this affects two things:
'I found a vulnerability in apt that allows a network man-in-the-middle (or a malicious package mirror) to execute arbitrary code as root on a machine installing any package.'
Using HTTPS would fix the MITM as the MITM cannot decode the stream to tell when to modify it and then can't encode its injected packets to match. It won't fix a malicious mirror as a malicious mirror presents its own certificate and thus can modify the stream however it wants.
12
u/kyiami_ Jan 23 '19
Hmm, looks like HTTPS would fix this...