MASTG-TEST-0252: References to Local File Access in WebViews
Content in BETA
This content is in beta and still under active development, so it is subject to change any time (e.g. structure, IDs, content, URLs, etc.).
Draft MASTG-TEST
This test hasn't been created yet and it's in draft. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that test by following our guidelines.
Check our GitHub Issues for MASTG-TEST-0252
If an issue doesn't exist yet, please create one and assign it to yourself or request to be assigned to it.
Draft Description¶
This test checks for references to methods from the WebSettings
class used by Android WebViews which enable loading content from various sources, including local files.
For more details, check the associated weakness: WebViews Allows Access to Local Resources
Demos¶
MASTG-DEMO-0032: Uses of WebViews Allowing Local File Access with semgrep