id: webview-universal-access

info:
  name: Android WebView Universal Access - Detect
  author: gaurang
  severity: medium
  description: Android WebView Universal Access enabling 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:
          - "Landroid/webkit/WebSettings;->setAllowUniversalAccessFromFileURLs(Z)V"
# digest: 4a0a004730450220244279d551ed3d6c7866e2cda38b56b84243b747d999aeeb5c461bca9abfc494022100eacf68ac27db623c24f07c1a8f8674a1f15822d6bc5ac4ce4b958c9452dde437:922c64590222798bb761d5b6d8e72950