Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/agg23/cve-2024-31317
Android SecurityPrivilege EscalationVulnerability AnalysisExploitationMobile SecurityLearning & Education
GitHubagg23/cve-2024-31317

cve-2024-31317

Detailed discussion of Zygote vulnerability CVE-2024-31317

View Repository
274301 year agoReviewed by Kitploit
Share

Exploration of CVE-2024-31317

CVE-2024-31317 provides unpriviledged access to any uid and SELinux scope available to proper Android apps. This provides access to uid 1000 (system) and uid 2000 (shell), and can be triggered entirely from an unpriviledged app, allowing for persistence of any functionality using it.

  • Explanation
  • SELinux Mimickry
  • Zygote Arguments
  • Emulator Setup

Availability

This exploit should apply to most Android versions prior to the June 2024 security patch and Android 9+. Some vendors may have cherry picked this change into older versions. Specifically, this means Android 9-14 with a security patch of 2024-06-01 or lower.

The vulnerability is trivial for Android versions 11 and below. See the attached sources for implementation instructions on pre-12 versions.

Derived Access

shell priviledge should be the same as access directly via adb shell. system priviledge is more questionable. @oddbyte is maintaining a list of available system access, specifically relating to this vulnerability. The default prop context permissions are listed in property_contexts and system_app.te.

Sources

This research has heavily been based on the following sources and the actual Android source code:

  • Becoming any Android app via Zygote command injection (Meta)
  • Unsure which is the original
    • The Return of Mystique?... (dawnslab)
    • The Return of Mystique?... (Flanker Sky)
  • Gist and discussion (rabits)
  • Gist and discussion (ybtag)
  • Exploit demonstration app
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    513
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    471
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    345
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    311
  • 5

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    303
  • 6

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    303

Explore all tools

Browse our collection of tools

View all tools →