Descrizione
In versions of the Datadog Android application prior to v541-5.9.2, the exported launcher activity AppActivity accepts an attacker-supplied session (including OAuth tokens) from Intent extras with no permission guard, and signs the app into that session without validating it against the backend.
This requires a malicious application co-installed on a device with the Datadog app installed, and an OAuth token the attacker is willing to load into the victim's app.
Impact: A co-installed application can switch the victim's Datadog app to a session the attacker controls. This is an account-confusion issue; it does not by itself expose the victim's existing session or data.
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