CVE-2012-6636 json
The Android API before 17 does not properly restrict the WebView.addJavascriptInterface method, which allows remote attackers to execute ar…
published 2014-03-03 12 y ago modified 2026-06-16 4 mo ago also EUVD-2012-6482
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 38.7%
- EPSS 38.7% chance of exploitation in 30 days, percentile 98%
- public exploits
- 2
- Metasploit, Exploit-DB
Summary
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.
Timeline
- First public exploit (Metasploit exploit/android/browser/webview_addjavascriptinterface)
- Published
Exploit prediction
38.72% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/android/browser/webview_addjavascriptinterface Android Browser and WebView addJavascriptInterface Code Execution metasploit exploit, excellent rank, 2012-12-21
- EDB-41675 Google Android 4.2 Browser and WebView - 'addJavascriptInterface' Code Execution (Metasploit) local, 2012-12-21
- cs.utexas.edu http://www.cs.utexas.edu/~shmat/shmat_ndss14nofrak.pdf referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
References
-
cs.utexas.edu
/~shmat/shmat_ndss14nofrak.pdf
exploit
- internetsociety.org /ndss2014/programme#session3
-
openwall.com
/lists/oss-security/2014/02/07/9
mailing-list
- support.lenovo.com /us/en/product_security/len_6421
- 50.56.33.56 /blog/?p=314
- developer.android.com /reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR1
- developer.android.com /reference/android/webkit/WebView.html#addJavascriptInterface%28java.lang.Object%2C%20java.lang.String%29
-
jvn.jp
/en/jp/JVN62161191/index.html
third-party-advisory
Sources
- CVE List CVE-2012-6636
- NVD CVE-2012-6636
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.