user-ppp command_Expand_Interpret() buffer overflow
| userppp-commandexpandinterpret-bo (41034) |
Description:
The user-ppp command, as used in FreeBSD, OpenBSD, and NetBSD, is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the command_Expand_Interpret() function. By sending a specially-crafted string via the user-ppp command, a local attacker with network group privileges granted could overflow a buffer and execute arbitrary code on the system with root privileges or cause the application to crash.
*CVSS:
| Base Score: | 6.8 |
| Access Vector: | Local |
| Access Complexity: | Low |
| Authentication: | Single |
| Confidentiality Impact: | Complete |
| Integrity Impact: | Complete |
| Availability Impact: | Complete |
| Temporal Score: | 5.3 |
| Exploitability: | Proof-of-Concept |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
For OpenBSD:
Apply the patch for this vulnerability, available from the OpenBSD CVS repository. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- BugTraq Mailing List, BugTraq Mailing List, Feb 26 2006 12:53PM: BSD user-ppp local root (when conditions permit).
- FreeBSD Web site: The FreeBSD Project.
- NetBSD Web site: The NetBSD Project.
- OpenBSD CVS repository: OpenBSD.
- OpenBSD FTP Web page: 009_ppp.patch.
- OpenBSD Web site: OpenBSD.
- BID-28090: BSD PPP 'pppx.conf' Local Denial of Service Vulnerability
- CVE-2008-1215: Stack-based buffer overflow in the command_Expand_Interpret function in command.c in ppp (aka user-ppp), as distributed in FreeBSD 6.3 and 7.0, OpenBSD 4.1 and 4.2, and the net/userppp package for NetBSD, allows local users to gain privileges via long commands containing ~ characters.
- SA29234: OpenBSD ppp Buffer Overflow Vulnerability
- SA29238: FreeBSD ppp Buffer Overflow Vulnerability
- SA29240: user-ppp "command_Expand_Interpret()" Buffer Overflow Vulnerability
Platforms Affected:
- FreeBSD FreeBSD 6.3
- NetBSD NetBSD
- OpenBSD OpenBSD
Reported:
Feb 29, 2008
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.
