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
sysctl_coalition_get_pid_list-dos — CVE-2017-7173: Local denial of service for iOS requiring root privileges. | Kitploit
Tools/GitHubGitHub/bazad/sysctl_coalition_get_pid_list-dos
iOS SecurityVulnerability AnalysisExploitation
GitHubbazad/sysctl_coalition_get_pid_list-dos

sysctl_coalition_get_pid_list-dos

CVE-2017-7173: Local denial of service for iOS requiring root privileges.

View Repository
Share
31318 years agoNot yet reviewed

sysctl_coalition_get_pid_list-dos

The sysctl_coalition_get_pid_list function in bsd/kern/sys_coalition.c uses the coalition_get_pid_list function to collect a list of PIDs in a coalition. This function will return the number of PIDs if successful or a negative errno on failure. However, the sysctl_coalition_get_pid_list function does not properly check for the error condition, meaning it will try to send a negative number of PIDs to userspace via SYSCTL_OUT. Since the length parameter is a size_t, the result is a call to copyout with a very large value.

I at first thought that this would be a kernel information leak, since the kernel would try to copy from the stack into a userspace buffer but eventually reach an unmapped page and abort the copy. However, SYSCTL_OUT does not copy out partial values, and on macOS copyio aborts early if the address plus size wraps around. This makes this bug not exploitable on macOS.

However, on iOS (or at least on iOS 10.1.1) the copyio function triggers a panic if the address plus size wraps around. This means that this bug can be used for denial-of-service.

Exploitation requires root privileges.

Timeline

I reported this issue to Apple on September 21, 2017. It was assigned CVE-2017-13833 CVE-2017-7173. Apple fixed the issues in macOS 10.13.2 and iOS 11.2.

(Apple has since discovered that CVE-2017-13833 was previously assigned to a different issue and reassigned this issue CVE-2017-7173.)

License

The sysctl_coalition_get_pid_list-dos code is released into the public domain. As a courtesy I ask that if you reference or use any of this code you attribute it to me.

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.

    565
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    478
  • 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.

    383
  • 4

    redforge

    cybersecurity91/redforge

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

    327
  • 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.

    258
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    256

Explore all tools

Browse our collection of tools

View all tools →