CVE-2006-6652

Buffer overflow in the glob implementation (glob.c) in libc in NetBSD-current before 20050914, NetBSD 2.* and 3.* before 20061203, and Apple Mac OS X before…

published December 20, 2006

CVSS
—
EPSS
20%
Percentile
97.4
In the wild
Unconfirmed
What it is

⚠️ There's a sneaky buffer overflow hiding in the glob implementation of NetBSD and Mac OS X! An overly long pathname could let remote authenticated users run arbitrary code like a surprise guest at your party showing up with a plus-one. 🎉 Think of it like ordering a meal at a restaurant. If you give the chef an order that’s too long and complicated, they might misinterpret it and serve you something completely unexpected. Here, the FTP daemon and tnftpd get confused by the lengthy path expansions, leading to unintended consequences. An attacker, with just the right long pathname, could gain remote control over the system, executing any code they desire. This could lead to unauthorized access, data breaches, or total system compromise—definitely a dinner party you don’t want to host!

Put simply

Think of it like ordering a meal at a restaurant. If you give the chef an order that’s too long and complicated, they might misinterpret it and serve you something completely unexpected. Here, the FTP daemon and tnftpd get confused by the lengthy path expansions, leading to unintended consequences. This vulnerability arises from a buffer overflow in the glob.c implementation in libc, allowing attackers to exploit long pathnames to execute arbitrary code when using the FTP daemon and tnftpd on affected systems.

What to do

An attacker, with just the right long pathname, could gain remote control over the system, executing any code they desire. This could lead to unauthorized access, data breaches, or total system compromise—definitely a dinner party you don’t want to host! To mitigate this issue, make sure to update your NetBSD or Mac OS X systems to versions released after the applicable patches, specifically those that address this overflow. Regularly review your configurations to avoid any overly long inputs that could trigger this vulnerability. 🛡️ This is fixable! Keep your systems updated and you’ll ensure this vulnerability is just a thing of the past. You've got this! 💪

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.20031 · 97.4th percentile
Published
2006-12-20T02:00Z
EPSS history
Timeline
  • 20 DEC 02:00Z
    Buffer overflow in the glob implementation (glob.c) in libc in NetBSD-current before 20050914, NetBSD 2.* and 3.* before 20061203, and Apple Mac OS X before…
    cvelistv5