Android Apk Javascript Enabled Without Clear Cache
Description
Detects Android WebView configurations where JavaScript is enabled together with settings for file or content access.
Detection Strategy
• Reads the decompiled code of the classes whose name contains Activity
• Checks if that code mentions setJavaScriptEnabled(true) or setJavaScriptEnabled(1), and also mentions setAllowContentAccess, setAllowFileAccess, setAllowFileAccessFromFileURLs or setAllowUniversalAccessFromFileURLs, whatever value they are given
• Reports a vulnerability when both are found
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Continuous Hacking Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' pentesting team, fill out this contact form.