Newly-discovered security flaws allow hackers to monitor devices in real time