Fix Wi-Fi security vulnerabilities