ID

VAR-200803-0281


CVE

CVE-2008-0306


TITLE

SAP MaxDB of sdbstarter Vulnerable to arbitrary command execution

Trust: 0.8

sources: JVNDB: JVNDB-2008-005380

DESCRIPTION

sdbstarter in SAP MaxDB 7.6.0.37, and possibly other versions, allows local users to execute arbitrary commands by using unspecified environment variables to modify configuration settings. SAP MaxDB is prone to a local privilege-escalation vulnerability. Exploiting this issue allows local attackers to execute arbitrary code with superuser privileges. This will lead to the complete compromise of an affected computer. This issue affects MaxDB 7.6.0.37 on both Linux and Solaris platforms. Other UNIX variants are most likely affected. Microsoft Windows versions are not vulnerable to this issue. iDefense Security Advisory 03.10.08 http://labs.idefense.com/intelligence/vulnerabilities/ Mar 10, 2008 I. BACKGROUND SAP's MaxDB is a database software product. MaxDB was released as open source from version 7.5 up to version 7.6.00. Later versions are no longer open source but are available for download from the SAP SDN website (sdn.sap.com) as a community edition with free community support for public use beyond the scope of SAP applications. The "sdbstarter" program is set-uid root and installed by default. For more information, visit the product's website at the following URL. https://www.sdn.sap.com/irj/sdn/maxdb II. DESCRIPTION Local exploitation of a design error in the "sdbstarter" program, as distributed with SAP AG's MaxDB, could allow attackers to elevate privileges to root. This vulnerability exists due to a design error in the handling of certain environment variables. These variables are used to specify the configuration settings to be used by various MaxDB components. III. To exploit this vulnerability, an attacker must be able to execute the "sdbstarter" program. In a default installation, this requires that the attacker be a member of the "sdba" group. It is important to note that this vulnerability is not architecture dependent. IV. DETECTION iDefense has confirmed the existence of this vulnerability in SAP AG's MaxDB version 7.6.0.37 on both Linux and Solaris. Windows releases do not include the "sdbstarter" program. V. WORKAROUND iDefense is currently unaware of any effective workaround for this issue. VI. VENDOR RESPONSE SAP AG has addressed this vulnerability by releasing a new version of MaxDB. For more information, consult SAP note 1140135. VII. CVE INFORMATION The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2008-0306 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems. VIII. DISCLOSURE TIMELINE 12/05/2007 Initial vendor notification 12/06/2007 Initial vendor response 03/10/2008 Coordinated public disclosure IX. CREDIT This vulnerability was discovered by Joshua J. Drake of VeriSign iDefense Labs. Get paid for vulnerability research http://labs.idefense.com/methodology/vulnerability/vcp.php Free tools, research and upcoming events http://labs.idefense.com/ X. LEGAL NOTICES Copyright \xa9 2008 iDefense, Inc. Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customerservice@idefense.com for permission. Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information. _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/ . The new version includes many new and advanced features, which makes it even easier to stay patched. Download and test it today: https://psi.secunia.com/ Read more about this new version: https://psi.secunia.com/?page=changelog ---------------------------------------------------------------------- TITLE: MaxDB Multiple Vulnerabilities SECUNIA ADVISORY ID: SA29312 VERIFY ADVISORY: http://secunia.com/advisories/29312/ CRITICAL: Highly critical IMPACT: Privilege escalation, System access WHERE: >From remote SOFTWARE: MaxDB 7.x http://secunia.com/product/4012/ DESCRIPTION: Some vulnerabilities have been reported in MaxDB, which can be exploited by malicious, local users to gain escalated privileges, and by malicious people to potentially compromise a vulnerable system. 1) A signedness error within the "vserver" component can be exploited to cause a heap corruption via a specially crafted packet sent to the port, which "vserver" is listening on (port 7210/TCP by default). PROVIDED AND/OR DISCOVERED BY: An anonymous researcher, reported via iDefense. ORIGINAL ADVISORY: iDefense: http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=670 http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=669 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor

Trust: 2.07

sources: NVD: CVE-2008-0306 // JVNDB: JVNDB-2008-005380 // BID: 28185 // PACKETSTORM: 64481 // PACKETSTORM: 64375

AFFECTED PRODUCTS

vendor:sapmodel:maxdbscope:eqversion:7.6.0.37

Trust: 2.7

sources: BID: 28185 // JVNDB: JVNDB-2008-005380 // CNNVD: CNNVD-200803-176 // NVD: CVE-2008-0306

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2008-0306
value: MEDIUM

Trust: 1.0

NVD: CVE-2008-0306
value: MEDIUM

Trust: 0.8

CNNVD: CNNVD-200803-176
value: MEDIUM

Trust: 0.6

nvd@nist.gov: CVE-2008-0306
severity: MEDIUM
baseScore: 6.9
vectorString: AV:L/AC:M/AU:N/C:C/I:C/A:C
accessVector: LOCAL
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 3.4
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

sources: JVNDB: JVNDB-2008-005380 // CNNVD: CNNVD-200803-176 // NVD: CVE-2008-0306

PROBLEMTYPE DATA

problemtype:NVD-CWE-Other

Trust: 1.0

problemtype:CWE-DesignError

Trust: 0.8

sources: JVNDB: JVNDB-2008-005380 // NVD: CVE-2008-0306

THREAT TYPE

local

Trust: 1.1

sources: BID: 28185 // PACKETSTORM: 64481 // PACKETSTORM: 64375 // CNNVD: CNNVD-200803-176

TYPE

Design Error

Trust: 0.9

sources: BID: 28185 // CNNVD: CNNVD-200803-176

CONFIGURATIONS

sources: JVNDB: JVNDB-2008-005380

PATCH

title:Top Pageurl:http://maxdb.sap.com/

Trust: 0.8

sources: JVNDB: JVNDB-2008-005380

EXTERNAL IDS

db:NVDid:CVE-2008-0306

Trust: 2.8

db:BIDid:28185

Trust: 1.9

db:SECUNIAid:29312

Trust: 1.7

db:VUPENid:ADV-2008-0844

Trust: 1.6

db:SECTRACKid:1019570

Trust: 1.6

db:JVNDBid:JVNDB-2008-005380

Trust: 0.8

db:XFid:41104

Trust: 0.6

db:IDEFENSEid:20080310 SAP MAXDB SDBSTARTER PRIVILEGE ESCALATION VULNERABILITY

Trust: 0.6

db:CNNVDid:CNNVD-200803-176

Trust: 0.6

db:PACKETSTORMid:64481

Trust: 0.1

db:PACKETSTORMid:64375

Trust: 0.1

sources: BID: 28185 // JVNDB: JVNDB-2008-005380 // PACKETSTORM: 64481 // PACKETSTORM: 64375 // CNNVD: CNNVD-200803-176 // NVD: CVE-2008-0306

REFERENCES

url:http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=670

Trust: 1.7

url:http://www.securitytracker.com/id?1019570

Trust: 1.6

url:http://www.securityfocus.com/bid/28185

Trust: 1.6

url:http://secunia.com/advisories/29312

Trust: 1.6

url:https://exchange.xforce.ibmcloud.com/vulnerabilities/41104

Trust: 1.0

url:http://www.vupen.com/english/advisories/2008/0844/references

Trust: 1.0

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2008-0306

Trust: 0.8

url:http://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2008-0306

Trust: 0.8

url:http://xforce.iss.net/xforce/xfdb/41104

Trust: 0.6

url:http://www.frsirt.com/english/advisories/2008/0844/references

Trust: 0.6

url:https://www.sdn.sap.com/irj/sdn/maxdb

Trust: 0.4

url:/archive/1/489361

Trust: 0.3

url:http://cve.mitre.org/),

Trust: 0.1

url:http://secunia.com/

Trust: 0.1

url:http://labs.idefense.com/intelligence/vulnerabilities/

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2008-0306

Trust: 0.1

url:http://labs.idefense.com/methodology/vulnerability/vcp.php

Trust: 0.1

url:http://labs.idefense.com/

Trust: 0.1

url:http://lists.grok.org.uk/full-disclosure-charter.html

Trust: 0.1

url:http://secunia.com/secunia_security_advisories/

Trust: 0.1

url:http://secunia.com/product/4012/

Trust: 0.1

url:https://psi.secunia.com/?page=changelog

Trust: 0.1

url:https://psi.secunia.com/

Trust: 0.1

url:http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

Trust: 0.1

url:http://secunia.com/advisories/29312/

Trust: 0.1

url:http://secunia.com/about_secunia_advisories/

Trust: 0.1

url:http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=669

Trust: 0.1

sources: BID: 28185 // JVNDB: JVNDB-2008-005380 // PACKETSTORM: 64481 // PACKETSTORM: 64375 // CNNVD: CNNVD-200803-176 // NVD: CVE-2008-0306

CREDITS

Joshua J. Drake

Trust: 0.6

sources: CNNVD: CNNVD-200803-176

SOURCES

db:BIDid:28185
db:JVNDBid:JVNDB-2008-005380
db:PACKETSTORMid:64481
db:PACKETSTORMid:64375
db:CNNVDid:CNNVD-200803-176
db:NVDid:CVE-2008-0306

LAST UPDATE DATE

2024-11-23T22:28:09.957000+00:00


SOURCES UPDATE DATE

db:BIDid:28185date:2008-03-12T18:01:00
db:JVNDBid:JVNDB-2008-005380date:2012-12-20T00:00:00
db:CNNVDid:CNNVD-200803-176date:2008-09-05T00:00:00
db:NVDid:CVE-2008-0306date:2024-11-21T00:41:38.073

SOURCES RELEASE DATE

db:BIDid:28185date:2008-03-10T00:00:00
db:JVNDBid:JVNDB-2008-005380date:2012-12-20T00:00:00
db:PACKETSTORMid:64481date:2008-03-13T00:31:09
db:PACKETSTORMid:64375date:2008-03-12T17:55:23
db:CNNVDid:CNNVD-200803-176date:2008-03-11T00:00:00
db:NVDid:CVE-2008-0306date:2008-03-11T23:44:00