Vulnerability in Google Android API
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 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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.448, 98.8th percentile (scored ); up from 0.385 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.385 · newest: 0.448 · change: +0.063
Affected products
- Google Android API — versions 1.0, 2.0, 3.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
2 public repositories with exploit or proof-of-concept code for this CVE:
- Snip3R69/CVE-2013-4710-WebView-RCE-Vulnerability (1 star, last pushed 2022-05-11): Android 3.0 through 4.1.x on Disney Mobile, eAccess, KDDI, NTT DOCOMO, SoftBank, and other devices does not properly implement the WebView class, which allows remote attackers to execute arbitrary me…
- xckevin/AndroidWebviewInjectDemo (1 star, last pushed 2019-02-20): An app demo for test android webview security issue: CVE-2012-6636
Also mentioned in 6 other repositories (0xCyberY/CVE-T4PDF, ARPSyndicate/cvemon, BCsl/WebViewCompat, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.cs.utexas.edu/~shmat/shmat_ndss14nofrak.pdf (Exploit)
- www.internetsociety.org/ndss2014/programme
- [oss-security] 20140207 Re: CVE request: multiple issues in Apache Cordova/PhoneGap (mailing-list)
- support.lenovo.com/us/en/product_security/len_6421
- 50.56.33.56/blog/
- developer.android.com/reference/android/os/Build.VERSION_CODES.html
- developer.android.com/reference/android/webkit/WebView.html
- JVN#62161191 (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.