🇰🇷 한글 설명
Ekia File Manager 1.2.7 버전에서 com.ekia.filecontrolmanager.OpenFileProvider가 권한 없이 노출되는 취약점이 발견되었습니다. 이 ContentProvider는 호출자가 제어하는 URI 경로를 파일 시스템 경로로 직접 매핑하여 파일 읽기, 생성, 덮어쓰기 및 삭제를 허용합니다. 공격자는 이를 통해 해당 앱의 권한으로 내부 파일에 접근할 수 있습니다.
💡 쉬운 설명
파일 관리 앱의 특정 기능이 잠금 장치 없이 외부에 열려 있는 상태입니다. 이로 인해 다른 악성 앱이 사용자의 허락 없이 앱 내부의 파일을 몰래 읽거나 지울 수 있습니다.
🇺🇸 원문 (English)
Ekia File Manager 1.2.7 exposes com.ekia.filecontrolmanager.OpenFileProvider as an exported Android ContentProvider without requiring caller permissions.
The provider maps the caller-controlled URI path directly to a filesystem path and passes it to new File(...). It then supports query(), openFile(), and delete() operations. Because the provider is exported and lacks android:permission, android:readPermission, or android:writePermission, another local application can access the provider authority and cause File Manager's process to read, create, overwrite, or delete files that are accessible to that process.
📍 영향받는 시스템
Ekia File Manager 1.2.7 및 이전 버전
⚔️ 공격 벡터
권한이 없는 로컬 앱이 노출된 ContentProvider의 URI를 조작하여 파일 시스템에 접근
🛡️ 대응 방법
ContentProvider 설정에 android:exported를 false로 변경하거나 적절한 android:permission을 추가하여 접근을 제한하십시오.
🔧 검증 코드
출력 결과에서 OpenFileProvider의 exported 값이 true이고 별도의 permission 설정이 없는지 확인하십시오.
adb shell dumpsys package com.ekia.filecontrolmanager | grep -A 10 'ContentProviders'