Integer Overflow in ffs_mountfs (Mac OS X, FreeBSD)
An integer overflow exists in the ffs_mountfs function in Mac OS X 10.4.8 and FreeBSD 6.1. This vulnerability can be triggered by a crafted DMG image, which causes the allocation of a negative size buffer, resulting in a heap-based buffer overflow. The issue is related to CVE-2006-5679. In FreeBSD, only root can mount filesystems, limiting the attack surface.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
On Mac OS X 10.4.8, local users can exploit this vulnerability to cause a denial of service (kernel panic) and possibly escalate privileges. On FreeBSD 6.1, the impact is limited to denial of service for root users, as only root can mount filesystems, and privilege boundaries are not crossed.
If you can’t patch tonight, do this now.
Restrict access to filesystem mounting operations to trusted users only. Monitor for suspicious DMG images and avoid mounting untrusted filesystems. On FreeBSD, ensure only root can mount filesystems, as per default configuration.
Patch, then assume compromise.
Apply vendor-supplied patches or updates that address the integer overflow in the ffs_mountfs function. Ensure systems are running the latest supported versions of Mac OS X and FreeBSD.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.