SAP DB niserver interface buffer overflow
| sap-db-niserver-bo (13766) |
Description:
SAP DB is vulnerable to a buffer overflow in the eo420_GetStringFromVarPart function, caused by improper bounds checking. By sending a large packet to the niserver interface listening on TCP port 7269, a remote attacker could overflow a buffer and execute arbitrary code on the server.
Platforms Affected:
- SAP AG, SAP DB 7.4.03.27 - prior
Remedy:
Upgrade to the latest version of SAP DB (7.4.03.30 or later), available from the SAP DB Web site. See References.
Consequences:
References:
- BugTraq Mailing List, Mon Nov 17 2003 - 08:32:13 CST , SAP DB priv. escalation/remote code execution at http://archives.neohapsis.com/archives/vulnwatch/2003-q4/0044.html.
- SAP DB Web site, SAP DB - The FREE Enterprise Open Source Database at http://www.sapdb.org.
- VulnWatch Mailing List, Wed Nov 19 2003 - 20:41:25 CST, RE: [VulnWatch] SAP DB priv. escalation/remote code execution at http://archives.neohapsis.com/archives/vulnwatch/2003-q4/0046.html.
- CVE-2003-0939: eo420_GetStringFromVarPart in veo420.c for SAP database server (SAP DB) 7.4.03.27 and earlier may allow remote attackers to execute arbitrary code via a connect packet with a 256 byte segment to the niserver (aka serv.exe) process on TCP port 7269, which prevents the server from NULL terminating the string and leads to a buffer overflow.
Reported:
Nov 17, 2003
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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
