Apple macOS VideoToolbox Out-Of-Bounds Read Information Disclosure Vulnerability
A flaw in how macOS processes MOV files in the VTDecoderXPCService process meant user-supplied data was not properly validated, allowing a read past the end of an allocated buffer. A remote attacker could use this to disclose sensitive information, and could combine it with other bugs to run code as the current user.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Apple macOS. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 MOV parsing code in VTDecoderXPCService trusted size or length values in the file without checking them against the actual buffer, so it read beyond the allocated memory.
Impact
An attacker could disclose sensitive information, and could chain this with other vulnerabilities to execute arbitrary code as the current user; the text does not say whether any defence limited it.
What the attacker needed
Victim opens a malicious MOV file; or victim visits a malicious page
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.
When a program reads a file, it sets aside a fixed area of memory for the data. If it does not check how much data the file actually contains, it can read past the end of that area and pick up other information sitting nearby. Here, opening a crafted video file could let an attacker see that leftover data, which may be sensitive.
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.