🇰🇷 한글 설명
Datadog Android 애플리케이션의 AppActivity가 권한 보호 없이 외부 호출이 가능하도록 설정되어 있습니다. 공격자가 임의의 사용자 세션 정보를 포함한 Intent를 전달하면, 애플리케이션이 이를 검증 없이 수락하여 공격자가 의도한 계정으로 자동 로그인 및 세션 탈취가 가능해집니다.
💡 쉬운 설명
스마트폰에 설치된 악성 앱이 Datadog 앱을 속여서 공격자의 계정으로 강제 로그인하게 만들 수 있는 보안 결함입니다. 이 과정에서 사용자의 로그인 정보가 공격자가 원하는 대로 조작될 위험이 있습니다.
🇺🇸 원문 (English)
The launcher activity AppActivity in the Datadog Android application is declared android:exported="true" with launchMode="singleTask" and no permission guard. On every onCreate and onNewIntent, it invokes Intent.getUserSession(), an extension that deserializes a full UserSession — user identity, OAuth access and refresh tokens, host, organization, datacenter, and permissions — from Bundle extras keyed under the com.datadog.app.* namespace. This extension lives in the main sourceset, not a test-only sourceset, despite a misleading comment referencing internal test fixtures.
Any application installed on the device can invoke the launcher with arbitrary session extras. The startup pipeline accepts the injected session, persists it to user storage, optionally rotates persisted token storage when an OAUTH_OVERRIDE_TOKEN extra is set, and performs an automatic login under the attacker-chosen identity. The session preparer returns Ready without contacting the backend whenever the injected access token is not flagged as expired-or-expiring-soon, so no server-side token introspection takes place before auto-login.
Preconditions: the Datadog application installed on the victim device, and a zero-permission co-installed malicious application. The attacker must possess any OAuth access token they are willing to have the victim use, including the attacker's own Datadog tokens.
📍 영향받는 시스템
Datadog Android Application (AppActivity가 exported=true로 설정된 버전)
⚔️ 공격 벡터
권한이 없는 악성 앱이 특정 Intent Extras를 포함하여 AppActivity를 호출함으로써 세션 주입 및 자동 로그인 유도
🛡️ 대응 방법
AppActivity의 android:exported 속성을 false로 변경하거나 적절한 권한(Permission)을 부여하고, Intent를 통한 세션 주입 시 서버 측 검증 로직을 강화해야 합니다.
🔧 검증 코드
출력 결과에서 AppActivity의 exported 값이 true로 되어 있는지 확인합니다.
adb shell dumpsys package com.datadog.app | grep -A 10 "Activity: com.datadog.app.AppActivity"
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
💻 영향받는 소프트웨어
IBM Verify Identity Access