Attackers could have taken full remote control of Google Glass via a now patched vulnerability.
The attack would require a Glass user to scan a QR code that would force them onto an attacker-controlled wireless network. It may also have given an attacker a first person view of the wearer of the glasses
Lookout Mobile researchers reported the flaw to Google on 15th May and it was patched on the 4th June for the 10,000 users of Glass.
Google limited QR code execution points where the user has solicited it, Lookout researcher Marc Rogers said. The fast response from Google, Rogers said, set a "benchmark for how connected things should be secured going forward".
In Rogers' scenario demonstration video, a victim scanned a QR code at a bus stop and was pushed onto a network that was broadcast from an attacker's WiFi Pineapple.
The attacker was pushed to a custom page containing a known Android 4.0.4 web vulnerability to Glass allowing for remote control over the internet.
"When photographed by an unsuspecting Glass user, the code forced Glass to connect silently to a hostile WiFi access point that we controlled. That access point in turn allowed us to spy on the connections Glass made, from web requests to images uploaded to the cloud," Rogers said.
"Both the vulnerability and its method of delivery are unique to Glass as a consequence of it becoming a connected thing."