medium6.8Public exploit code
CVE-2012-6636
The Android API before 17 does not properly restrict the WebView.addJavascriptInterface method, which allows remote attackers to execute arbitrary methods of J…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Google Android 4.2 Browser and WebView - 'addJavascriptInterface' Code Execution (Metasploit)2012-12-21 · local · android · Verified
Impact
The Android API before 17 does not properly restrict the WebView.addJavascriptInterface method, which allows remote attackers to execute arbitrary methods of Java objects by using the Java Reflection API within crafted JavaScript code that is loaded into the WebView component in an application targeted to API level 16 or earlier, a related issue to CVE-2013-4710.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Android Api | through 16.0 Versions 1.0, 2.0, 3.0, 4.0, 5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- http://50.56.33.56/blog/?p=314
- http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR1
- http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface%28java.lang.Object%2C%20java.lang.String%29
- http://jvn.jp/en/jp/JVN62161191/index.html
- http://openwall.com/lists/oss-security/2014/02/07/9
- http://www.cs.utexas.edu/~shmat/shmat_ndss14nofrak.pdf
- http://www.internetsociety.org/ndss2014/programme#session3
- https://support.lenovo.com/us/en/product_security/len_6421
- http://50.56.33.56/blog/?p=314
- http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR1
- http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface%28java.lang.Object%2C%20java.lang.String%29
- http://jvn.jp/en/jp/JVN62161191/index.html
- http://openwall.com/lists/oss-security/2014/02/07/9
- http://www.cs.utexas.edu/~shmat/shmat_ndss14nofrak.pdf
- http://www.internetsociety.org/ndss2014/programme#session3
- https://support.lenovo.com/us/en/product_security/len_6421