NetBSD FTPD glob.c buffer overflow
| netbsd-ftpd-glob-bo (30670) |
Description:
NetBSD FTPD and tnftpd are vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the glob.c file. By creating a malicious folder containing globbing characters and sending an overly long pathname, a remote authenticated attacker could overflow a buffer and execute arbitrary code on the system with root privileges.
*CVSS:
| Base Score: | 8 |
| Access Vector: | Remote |
| Access Complexity: | High |
| Authentication: | Not Required |
| Confidentiality Impact: | Complete |
| Integrity Impact: | Complete |
| Availability Impact: | Complete |
| Temporal Score: | 6.3 |
| Exploitability: | Functional |
| Remediation Level: | Official-Fix |
| Report Confidence: | Uncorroborated |
Consequences:
Gain Access
Remedy:
Refer to NetBSD Security Advisory 2006-027 for patch, upgrade, or suggested workaround information. See References.
For Mac OS X:
Refer to Apple Security Update 2007-004 for upgrade information. See References.
References:
- Apple Security Update 2007-004: Security Update 2007-004.
- freshmeat.net: tnftpd.
- Full-Disclosure Mailing List, Thu Nov 30 2006 - 18:25:14 CST: NetBSD FTPD and ports ***REMOTE ROOOOOT HOLE***.
- NetBSD-SA2006-027: libc glob(3) buffer overflow.
- BID-21377: NetBSD Ftpd and Tnftpd Port Remote Buffer Overflow Vulnerability
- 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 2007-004, as used by the FTP daemon and tnftpd, allows remote authenticated users to execute arbitrary code via a long pathname that results from path expansion.
- OSVDB ID: 31781: Mac OS X and NetBSD ftpd Globbing Overflow
- SA23178: Mac OS X ftpd Buffer Overflow Vulnerability
- SA24966: Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1017386: NetBSD libc glob(3) Buffer Overflow May Let Local Users Gain Elevated Privileges or Remote Users Execute Arbitrary Code in Certain Cases
- VUPEN/ADV-2007-1470: Apple Mac OS X Multiple Remote Code Execution and Denial of Service Vulnerabilities
Platforms Affected:
- Apple Mac OS X 10.0
- Apple Mac OS X 10.0.1
- Apple Mac OS X 10.0.2
- Apple Mac OS X 10.0.3
- Apple Mac OS X 10.0.4
- Apple Mac OS X 10.1
- Apple Mac OS X 10.1.1
- Apple Mac OS X 10.1.2
- Apple Mac OS X 10.1.3
- Apple Mac OS X 10.1.4
- Apple Mac OS X 10.1.5
- Apple Mac OS X 10.2
- Apple Mac OS X 10.2.1
- Apple Mac OS X 10.2.2
- Apple Mac OS X 10.2.3
- Apple Mac OS X 10.2.4
- Apple Mac OS X 10.2.5
- Apple Mac OS X 10.2.6
- Apple Mac OS X 10.2.7
- Apple Mac OS X 10.2.8
- Apple Mac OS X 10.3
- Apple Mac OS X 10.3.1
- Apple Mac OS X 10.3.2
- Apple Mac OS X 10.3.3
- Apple Mac OS X 10.3.4
- Apple Mac OS X 10.3.5
- Apple Mac OS X 10.3.6
- Apple Mac OS X 10.3.7
- Apple Mac OS X 10.3.8
- Apple Mac OS X 10.3.9
- Apple Mac OS X 10.4
- Apple Mac OS X 10.4.1
- Apple Mac OS X 10.4.10
- Apple Mac OS X 10.4.2
- Apple Mac OS X 10.4.3
- Apple Mac OS X 10.4.4
- Apple Mac OS X 10.4.5
- Apple Mac OS X 10.4.6
- Apple Mac OS X 10.4.7
- Apple Mac OS X 10.4.8
- Apple Mac OS X 10.4.9
- NetBSD NetBSD 2.0
- NetBSD NetBSD 2.1
- NetBSD NetBSD 3.0
- NetBSD NetBSD 3.1
Reported:
Nov 30, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
