{"id":22271540,"url":"https://github.com/trigii/cve-2023-42860","last_synced_at":"2026-02-01T23:02:08.784Z","repository":{"id":238480812,"uuid":"784286642","full_name":"Trigii/CVE-2023-42860","owner":"Trigii","description":"Exploit for CVE-2023-42860","archived":false,"fork":false,"pushed_at":"2024-09-12T16:55:37.000Z","size":330,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T22:06:29.019Z","etag":null,"topics":["apple","exploit","fda","macos","root","sip","tcc"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Trigii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-09T14:53:46.000Z","updated_at":"2024-10-22T16:54:08.000Z","dependencies_parsed_at":"2024-05-06T12:26:48.732Z","dependency_job_id":"bf757ef4-320c-4f49-b060-4ca98b20f2a5","html_url":"https://github.com/Trigii/CVE-2023-42860","commit_stats":null,"previous_names":["trigii/cve-2023-42860"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Trigii/CVE-2023-42860","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trigii%2FCVE-2023-42860","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trigii%2FCVE-2023-42860/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trigii%2FCVE-2023-42860/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trigii%2FCVE-2023-42860/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Trigii","download_url":"https://codeload.github.com/Trigii/CVE-2023-42860/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trigii%2FCVE-2023-42860/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28993742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T22:01:47.507Z","status":"ssl_error","status_checked_at":"2026-02-01T21:58:37.335Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple","exploit","fda","macos","root","sip","tcc"],"created_at":"2024-12-03T12:12:31.257Z","updated_at":"2026-02-01T23:02:08.747Z","avatar_url":"https://github.com/Trigii.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CVE-2023-42860\nExploit for [CVE-2023-42860](https://nvd.nist.gov/vuln/detail/CVE-2023-4863) (for research purposes only).\n\nThis exploit works for versions of macOS earlier to 13.3, even though [Apple´s changelog](https://support.apple.com/en-us/HT213984) says it was fixed in version 14.1.\n\n## Steps\n1. [Download](https://mrmacintosh.com/macos-ventura-13-full-installer-database-download-directly-from-apple/) the InstallAssistant.pkg\n2. Modify the variable `TARGET_FILE` on the `exploit.sh` file to a SIP protected file on the system (default target is the system TCC database).\n3. Run the exploit as **root**:\n```sh\n$ ./exploit.sh PATH_TO_PKG\n```\n4. You should now see that the **restricted flag** from the file has been **removed** and be able to modify the SIP protected file directly. Alternatively, you could modify the SIP protected file through `/Applications/Install\\ macOS\\ Ventura.app/Contents/SharedSupport/SharedSupport.dmg`. The file has to be modified as the **root user**.\n\n## Reference\nhttps://blog.kandji.io/apple-mitigates-vulnerabilities-installer-scripts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrigii%2Fcve-2023-42860","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrigii%2Fcve-2023-42860","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrigii%2Fcve-2023-42860/lists"}