Command injection in /etc/rc.d/netif
- Reply: Dag-Erling_Smørgrav : "Re: Command injection in /etc/rc.d/netif"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Aug 2026 11:40:15 UTC
Hi, I have found netif script to be susceptible to command injection from both command line and an arbitrary file name. It's probably happening in /etc/network.subr but I have not yet been able to patch it. Example: service netif start ';id;' # Command injection from a file name touch '/tmp/;id;' service netif start '/tmp/*'