Weakness (CWE)
CWE-926: Improper Export of Android Application Components
The Android application exports a component for use by other applications, but does not properly restrict which applications can launch the component or access the data it contains.
How to prevent it (4 mitigations)
-
Build and Compilation
If they do not need to be shared by other applications, explicitly mark components with android:exported="false" in the application manifest.
-
Build and Compilation
If you only intend to use exported components between related apps under your control, use android:protectionLevel="signature" in the xml manifest to restrict access to applications signed by you.
-
Build and Compilation, Architecture and Design
Limit Content Provider permissions (read/write) as appropriate.
-
Build and Compilation, Architecture and Design
Limit Content Provider permissions (read/write) as appropriate.
Source: MITRE CWE-926
0 results · Clear filters · Feed