Descrizione
A vulnerability, which was classified as critical, has been found in kyivstarteam react-native-sms-user-consent up to 1.1.4 on Android. Affected by this issue is the function registerReceiver of the file android/src/main/java/ua/kyivstar/reactnativesmsuserconsent/SmsUserConsentModule.kt. The manipulation leads to improper export of android application components. Attacking locally is a requirement. Upgrading to version 1.1.5 is able to address this issue. The name of the patch is 5423dcb0cd3e4d573b5520a71fa08aa279e4c3c7. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-259508.
Tipo di vulnerabilità
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.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità, Integrità |
Stato imprevisto, Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità, Dipende dal contesto |
| Disponibilità, Integrità |
Stato imprevisto, Ottenere privilegi o assumere un’altra identità, Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità, Dipende dal contesto |
| Riservatezza, Integrità |
Leggere i dati dell’applicazione, Modificare i dati dell’applicazione |
Come si previene
Build e compilazione · Riduzione della superficie di attacco
If they do not need to be shared by other applications, explicitly mark components with android:exported=false in the application manifest.
Build e compilazione · Riduzione della superficie di attacco
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 e compilazione · Architettura e progettazione · Riduzione della superficie di attacco
Limit Content Provider permissions (read/write) as appropriate.
Build e compilazione · Architettura e progettazione · Separazione dei privilegi
Limit Content Provider permissions (read/write) as appropriate.
Tutte le 124 CVE di tipo CWE-926, con andamento e prevenzione