{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-6636 exists.","fix":"No fix has been published for CVE-2012-6636 yet. Limit exposure of the affected software until one is available.","what":"CVE-2012-6636 is a medium-severity code injection vulnerability in n/a, published on 3 Mar 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2012-6636 and fix it if it is affected.\n\nWhat it is: CVE-2012-6636 is a medium-severity code injection vulnerability in n/a, published on 3 Mar 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-6636 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2012-6636/ (Markdown: https://insights.sbomify.com/CVE-2012-6636/index.md)","id":"CVE-2012-6636","markdown":"https://insights.sbomify.com/CVE-2012-6636/index.md","name":"CVE-2012-6636","record":{"aliases":["GHSA-9qcw-937q-52w8","UBUNTU-CVE-2012-6636"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Android OS","requires_auth":"none","summary":"Remote attackers can execute arbitrary Java methods via crafted JavaScript in WebView components on Android API levels 16 and earlier.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"android_api","vendor":"google"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2012-12-21","github_poc":2,"max_poc_stars":1,"metasploit":1,"nuclei":0,"refs":[{"date":"2019-02-19T10:34:30Z","kind":"github_poc","ref":"https://github.com/xckevin/AndroidWebviewInjectDemo","stars":1,"title":"An app demo for test android webview security issue: CVE-2012-6636"},{"date":"2022-05-11T08:53:56Z","kind":"github_poc","ref":"https://github.com/Snip3R69/CVE-2013-4710-WebView-RCE-Vulnerability","stars":1,"title":"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 methods of Java objects or cause a denial of service (reboot) via a crafted web page, as demonstrated by use of the WebView.addJavascriptInterface method, a related issue to CVE-2012-6636."},{"date":"2012-12-21","kind":"exploitdb","ref":"41675","stars":null,"title":"Google Android 4.2 Browser and WebView - 'addJavascriptInterface' Code Execution (Metasploit)"},{"date":"2012-12-21","kind":"metasploit","ref":"exploit/android/browser/webview_addjavascriptinterface","stars":null,"title":"Android Browser and WebView addJavascriptInterface Code Execution"}],"tier":"weaponised"},"has_fix":false,"headline":"Code injection in n/a","id":"CVE-2012-6636","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2012"},"n_packages":0,"n_references":8,"next":{"headline":"Security feature bypass in n/a","id":"CVE-2012-6637"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2012-6635"},"products":["n/a"],"published":"2014-03-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary Java methods via crafted JavaScript in WebView components on Android API levels 16 and earlier.","url":"https://insights.sbomify.com/CVE-2012-6636/"}