OpenBase SQL as used in Apple Xcode gnutar binary code execution
| openbasesql-gnutar-code-execution (29624) |
Description:
OpenBase SQL as used in Apple Xcode could allow a local attacker to execute arbitrary code on the system caused by a vulnerability in an untrusted search path when the /Library/OpenBase/bin/gnutar binary is called while the OpenBase server is running. A local attacker could exploit this vulnerability using the TAR_OPTIONS environment variable to force a malformed gzip program to run without an absolute filename and manipulate a PATH variable to execute arbitrary code on the system with root privileges.
Platforms Affected:
- Apple, Xcode 2.2
- OpenBase International, OpenBase SQL 10.0 and prior
Remedy:
Upgrade to the latest J2SE 5.0-compliant OpenBase JDBC driver, available from the OpenBase Web site. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Privileges
References:
- Apple Product Security Mailing List, Tue, 30 Oct 2007 15:13:10 -0700, APPLE-SA-2007-10-30 Xcode 2.5 Developer Tools at http://lists.apple.com/archives/security-announce/2007/Oct/msg00001.html.
- Apple Web site, Xcode at http://www.apple.com/macosx/features/xcode/.
- Apple Web site, About the security content of Xcode Tools 2.5 at http://docs.info.apple.com/article.html?artnum=306847.
- DMA[2006-1016a], Apple Xcode WebObjects / OpenBase SQL multiple vulnerabilities at http://www.digitalmunition.com/DMA[2006-1016a].txt.
- OpenBase Web site, OpenBase: Engine of Innovation at http://store.openbase.com/index.html.
- BID-20562: Apple Xcode OpenBase Multiple Privilege Escalation Vulnerabilities
- CVE-2006-5327: Untrusted search path vulnerability in OpenBase SQL 10.0 and earlier, as used in Apple Xcode 2.2 2.2 and earlier and possibly other products, allows local users to execute arbitrary code via a modified PATH that references a malicious gzip program, which is executed by gnutar with certain TAR_OPTIONS environment variable settings, when gnutar is invoked by OpenBase.
- SA22390: OpenBase SQL Privilege Escalation Vulnerability
- SA22474: Apple Xcode WebObjects Plugin Privilege Escalation Vulnerability
- SA27441: Apple Xcode Multiple Vulnerabilities
- SECTRACK ID: 1018872: Apple Xcode Bugs Let Local Users Gain System Privileges
- VUPEN/ADV-2006-4058: OpenBase SQL Library/OpenBase/bin/gnutar Privilege Escalation Vulnerability
- VUPEN/ADV-2006-4059: Apple Xcode WebObjects Plugin OpenBase SQL Privilege Escalation Vulnerability
- VUPEN/ADV-2007-3665: Apple Xcode Buffer Overflow and Privilege Escalation Vulnerabilities
Reported:
Oct 16, 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
