Notification Center

This is our new notification center. Inside, you will find updates on the most important things happening right now.

Notifications

Hmm, push notifications seem to be disabled in your browser. You can enable them from the 'Settings' icon in the URL bar of your browser.

www.phonearena.com

Google Glass can be hacked via JavaScript code due to security flaw

5
Google Glass can be hacked via JavaScript code due to a security flaw
It seems that Google Glass is susceptible to MitM (Man in the Middle) hack attacks due to a JavaScript security hole. Recent tests showed that malicious 3rd party Javascript code can be executed on Google's wearable gadget. Any app that is compiled for pre-Jelly Bean versions of Android can exploit 'addJavascriptinterface()' - a function that normally "allows you to inject Java objects into a page's JavaScript context, so that they can be accessed by JavaScript in the page". Unfortunately, the aforementioned function is broken when used under Android 4.1 API 16 or below, which means that wrongdoers can manipulate it and execute maliciuos Java code through WebView without any permission.


The first edition of Google Glass runs Android 4.0.4, which means that the wearable gadget can be easily hacked into if wrongdoers decide to exploit the flaw. According to Google's documentation about the addJavascriptinterface() function, it "is a powerful feature, but also presents a security risk for applications targeted to API level JELLY BEAN or below, because JavaScript could use reflection to access an injected object's public fields". Additionally, the company admits that "use of this method in a WebView containing untrusted content could allow an attacker to manipulate the host application in unintended ways".

MWR Labs, a security company, states that the addJavascriptinterface() issue was discovered back in December 2012. The company also advises all Android users to "remove any and all applications that embed advertisements", because they usually connect to untrusted networks and pose security risks.

source: GitHub, Android via AndroidAuthority

New reasons to get excited every week

Get the most important news, reviews and deals in mobile tech delivered straight to your inbox

FCC OKs Cingular\'s purchase of AT&T Wireless