Android WebView Add Javascript Interface - Detect
ID: webview-addjavascript-interface
Severity: info
Author: gaurang
Tags: android,file,webview
Description
Section titled “Description”Android WebView Add Javascript interface usage was detected.
YAML Source
Section titled “YAML Source”id: webview-addjavascript-interface
info: name: Android WebView Add Javascript Interface - Detect author: gaurang severity: info description: Android WebView Add Javascript interface usage was detected. classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N cvss-score: 5.3 cwe-id: CWE-200 tags: android,file,webview
file: - extensions: - all matchers: - type: word words: - ";->addJavascriptInterface(Ljava/lang/Object;Ljava/lang/String;)V"
# Enhanced by md on 2023/05/02# digest: 4b0a00483046022100a3465bcc9fb1fddee15652b7193f52c669918538fb512cd035b00b1032cb071e022100a57ee8c39d75091c0fe3bc97d6eaf2c3fd57ae2fef908a60b146d95b7397dd4f:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "file/android/webview-addjavascript-interface.yaml"