Apple Safari SandboxBroker ZIP File Processing Out-Of-Bounds Read Information Disclosure Vulnerability
Safari's handling of ZIP files did not properly validate user-supplied data, causing 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 flaws to run code inside the SandboxBroker process.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Apple Safari. 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 ZIP parsing code trusted size or offset values in the file without checking them against the actual buffer length, 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 in the SandboxBroker process; user interaction is required.
What the attacker needed
Victim opens a malicious ZIP file; 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.
A program keeps data in a fixed-size area of memory called a buffer. If it reads past the end of that area, it can pick up other data that was never meant to be shown. Here, opening a crafted ZIP file in Safari could make the browser leak such data, and the attacker needs the victim to visit a page or open a file first.
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.