The security experts at zecOps have discovered a bug in the iPhone last month that intrudes wireless connectivity when it gets connected to an access point with a specific name. This bug was dubbed as WiFiDemon, and it is a remote code execution vulnerability, and for implementing operation it does not require any kind of user intervention. Until and unless this bug is not getting fixed permanently, avoid joining to any public WiFi networks or any hotspots, as doing so will help you stay protected from this type of security flaw.”]
Source: https://gbhackers.com/iphone-zero-click-wifi-hacking-flaw/