Apple macOS sysctl_procargsx Uninitialized Buffer Information Disclosure Vulnerability
The sysctl_procargsx system call in Apple macOS fails to properly initialise memory before accessing it, leading to an uninitialised buffer. A local attacker with low-privileged code execution could disclose sensitive information and potentially escalate privileges in the kernel context.
This vulnerability allows local attackers to disclose sensitive information 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
Impact
A local attacker with low-privileged code execution could disclose sensitive kernel memory and, in conjunction with other vulnerabilities, escalate privileges to the kernel context.
What the attacker needed
Local low-privileged code execution
The fix
Apple issued an update to correct this 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.
This is a bug in how macOS handles a system call that returns information about processes. The system call gives back a buffer of memory that was not properly cleared, so it may contain leftover data from other parts of the system. An attacker who can already run code on the machine could read that leftover data, which might include sensitive information, and use it to help gain higher privileges.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.