Apple macOS usymptomsd Out-Of-Bounds Access Privilege Escalation Vulnerability
The usymptomsd service on Apple macOS did not properly validate user-supplied data, causing a memory access past the end of an allocated buffer. A local attacker who already had low-privileged code execution could exploit this to run code in the context of the symptomsd process.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to execute arbitrary code on vulnerable installations of Apple macOS. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the service trusted the length or contents of user-supplied data without checking it against the size of the allocated buffer.
Impact
A local attacker with low-privileged code execution could escalate to running code as the symptomsd process; the text does not say which user the process runs as.
What the attacker needed
Local low-privileged code execution
The fix
Apple issued an update that corrects the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Some programs keep data in a fixed-size area of memory. If they read more than they should, they can step past the end of that area and touch memory they do not own. Here a background service on macOS did this, and someone who already had a small foothold on the machine could use it to run their own code with that service's permissions.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.