MASTG-TEST-0251: Runtime Use of Content Provider Access APIs 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-0251
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 Content Provider access in WebViews which is enabled by default and can be disabled using the setAllowContentAccess
method in the WebSettings
class. If improperly configured, this can introduce security risks such as unauthorized file access and data exfiltration.
For more details, check the associated weakness: WebViews Allows Access to Local Resources
Demos¶
MASTG-DEMO-0030: Uses of WebViews Allowing Content Access with Frida