the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : 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.
Publish Date : 2014-03-02 Last Update Date : 2016-06-01
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 264

- Products Affected By CVE-2012-6636

# Product Type Vendor Product Version Update Edition Language
1 Application Google Android Api 1.0 Version Details Vulnerabilities
2 Application Google Android Api 2.0 Version Details Vulnerabilities
3 Application Google Android Api 3.0 Version Details Vulnerabilities
4 Application Google Android Api 4.0 Version Details Vulnerabilities
5 Application Google Android Api 5.0 Version Details Vulnerabilities
6 Application Google Android Api 6.0 Version Details Vulnerabilities
7 Application Google Android Api 7.0 Version Details Vulnerabilities
8 Application Google Android Api 8.0 Version Details Vulnerabilities
9 Application Google Android Api 9.0 Version Details Vulnerabilities
10 Application Google Android Api 10.0 Version Details Vulnerabilities
11 Application Google Android Api 11.0 Version Details Vulnerabilities
12 Application Google Android Api 12.0 Version Details Vulnerabilities
13 Application Google Android Api 13.0 Version Details Vulnerabilities
14 Application Google Android Api 14.0 Version Details Vulnerabilities
15 Application Google Android Api 15.0 Version Details Vulnerabilities
16 Application Google Android Api 16.0 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Google Android Api 16

- References For CVE-2012-6636 CONFIRM,%20java.lang.String%29 CONFIRM
MLIST [oss-security] 20140207 Re: CVE request: multiple issues in Apache Cordova/PhoneGap CONFIRM

- Metasploit Modules Related To CVE-2012-6636

Android Browser and WebView addJavascriptInterface Code Execution
This module exploits a privilege escalation issue in Android < 4.2's WebView component that arises when untrusted Javascript code is executed by a WebView that has one or more Interfaces added to it. The untrusted Javascript code can call into the Java Reflection APIs exposed by the Interface and execute arbitrary commands. Some distributions of the Android Browser app have an addJavascriptInterface call tacked on, and thus are vulnerable to RCE. The Browser app in the Google APIs 4.1.2 release of Android is known to be vulnerable. A secondary attack vector involves the WebViews embedded inside a large number of Android applications. Ad integrations are perhaps the worst offender here. If you can MITM the WebView's HTTP connection, or if you can get a persistent XSS into the page displayed in the WebView, then you can inject the html/js served by this module and get a shell. Note: Adding a .js to the URL will return plain javascript (no HTML markup).
Module type : exploit Rank : excellent Platforms : Android,Linux

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.