Descrizione
The vulnerability is that the Messaging ("com.android.mms") app patched by LG forwards attacker-controlled intents back to the attacker in the exported "com.android.mms.ui.QClipIntentReceiverActivity" activity. The attacker can abuse this functionality by launching this activity and then sending a broadcast with the "com.lge.message.action.QCLIP" action. The attacker can send, e.g., their own data/clipdata and set Intent.FLAG_GRANT_* flags. After the attacker received that intent in the "onActivityResult()" method, they would have access to arbitrary content providers that have the `android:grantUriPermissions="true"` flag set.
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