Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2026-40000 — A poc for a vulnerability in ZTE File Manager (zte.com.cn.filer) which allows to read arbitrary files from other apps as the privileges of this file manager | Kitploit
도구/GitHubGitHub/skorpion96/cve-2026-40000
Android SecurityPrivilege EscalationVulnerability AnalysisExploitationPenetration TestingMobile Security
GitHubskorpion96/cve-2026-40000

CVE-2026-40000

A poc for a vulnerability in ZTE File Manager (zte.com.cn.filer) which allows to read arbitrary files from other apps as the privileges of this file manager

저장소 보기
1225일 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

CVE-2026-40000

A poc for CVE-2026-40000, a vulnerability in ZTE File Manager (zte.com.cn.filer) which allows to read arbitrary files from other apps as the privileges of this file manager

How to: build the project (or get the app from releases), install and open the poc, then input a file to open and press the button Open as zte.com.cn.filer to try to open it. On the ZTE File Manager select extract all, then confirm the decompression, it will fail and prompt you to choose an external app to open it (you will be allowed to choose from android open picker). The ZTE File Manager will copy the file to /sdcard/Android/data/zte.com.cn.filer/cache and decompress it on a temp subdir. When you will try to open a file with the name of one in system PATH (or directly one in system PATH) it will be copied directly to /sdcard/Android/data/zte.com.cn.filer/cache and the app will ask if you want to overwrite it. There is also a way to recognize immediately if the to be opened file can or cannot be accessed by the ZTE File Manager (assuming the app doesn't have permissions to read it): on the FilePreViewActivity up left corner and also up where there is the back arrow when it's possible to open the file it's shown the file name, instead when the open fails no name shows up.

How the poc works: it does something like adb shell am start -d content://zte.com.cn.filer.fileprovider/root_path/filetoopen zte.com.cn.filer/zte.com.cn.filer.FilePreViewActivity

The app has this provider

root@kitploit:~
   <provider
            android:name="androidx.core.content.FileProvider"
            android:exported="false"
            android:authorities="zte.com.cn.filer.fileprovider"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/provider_paths"/>
  </provider>

Even if not exported it can be called by this activity

root@kitploit:~
android:name="zte.com.cn.filer.FilePreViewActivity" 
android:exported="true"

Since we are calling the provider from one of it's own app activities the exported thing becomes useless. The activity is exported to true so can be called from other components.

Obviously this is not enough, the app needs to allow access to / or at least sensitive paths. Turns out it does (from android:resource="@xml/provider_paths), even tough it uses a . it points to / allowing to open files from anywhere the files app has access

root@kitploit:~
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
    <files-path
        name="files-path"
        path="."/>
    <external-path
        name="external_files"
        path="."/>
    <root-path
        name="root_path"
        path="."/>
    <external-cache-path
        name="external_cache_path"
        path="."/>
</paths>

Devices affected: ZTE Blade A75 5G and new models probably unless updated (i don't have them so i'm guessing). On android 9 up to 12 (probably on earlier Android versions the situation is the same) the app is missing the zte.com.cn.filer.FilePreViewActivity so it's not vulnerable seems or could happen the app is completely absent (stock google filer is used at least where i tried).

I'm not responsible for misuse of this, the vulnerability is local, got CVE and so is patched. Do system updates or upgrade your device to a newer one in case you are worried.

도구 다운로드