Apple Screen Sharing Pre-Authentication Root File Access and... - #2586
Open
carlospolop wants to merge 1 commit into
Open
Apple Screen Sharing Pre-Authentication Root File Access and...#2586carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://warez.sl0p.foo/apple-screensharing-rce Content Categories: Based on the analysis, this content was categorized under "macOS Hardening > macOS Security & Privilege Escalation > macOS Network Services & Protocols, with a cross-reference from Network Services Pentesting > 5800/5801/5900/5901 - Pentesting VNC". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview
The post describes a critical pre-authentication vulnerability in Apple's root-privileged
screensharingddaemon. It affects macOS Tahoe versions up to and including26.5when Screen Sharing is enabled and is reported fixed in macOS26.6, released on July 27, 2026. No CVE identifier is given. The affected service implements Apple Screen Sharing using RFB version003.889, security type36, SRP authentication, and ...🔧 Technical Details
Stale-status authentication bypass: When a parser performs a successful network read and subsequently rejects the parsed value, every rejection path must explicitly return an error. Reusing the read function's return register can turn malformed input into authentication success. In this case, an SRP frame length of at least
32768reaches an oversized-frame branch that returns the preceding zero fromNetBufferRead. The caller interprets zero as completed authentication and marks the session authenticated without validating credentials.Skipping transport encryption through an early state-machine exit: If encryption is installed only after authentication verification, forcing an earlier function to report success may move the connection directly into the post-authentication state without crypto. The server never derives the SRP key or installs ChaCha20-Poly1305 contexts, so privileged application messages are accep...
🤖 Agent Actions
Using repo inspection workflow first; I’m discovering the available filesystem tool so I can read the relevant HackTricks pages and place any update correctly.
I’ve identified
macos-protocols.mdas the best single-file fit so far; before editing, I’m verifying the time-sensitive fix/version details with source links.Done.
Updated:
src/macos-hardening/macos-security-and-privilege-escalation/macos-protocols.mdAdded:
0x22root read/write primitiveNewItemA mod N != 0validation pitfallValidation:
git diff --checkpassedmdbook buildcould not be run becausemdbookis not installed in this environment (/bin/sh: 1: mdbook: not found)This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.