IBM DB2 Universal Database Server 'db2db' Local Privilege Escalation Vulnerability

BID:27680

Info

IBM DB2 Universal Database Server 'db2db' Local Privilege Escalation Vulnerability

Bugtraq ID: 27680
Class: Design Error
CVE: CVE-2007-5757
Remote: No
Local: Yes
Published: Feb 07 2008 12:00AM
Updated: Feb 08 2008 01:06AM
Credit: The discoverer of this vulnerability wishes to remain anonymous.
Vulnerable: IBM DB2 Universal Database for Linux 9.1 FixPack 2
Not Vulnerable: IBM DB2 Universal Database for Linux 9.1 FixPak 4
IBM DB2 Universal Database for Linux 8.2.0 Fixpak 16

Discussion

IBM DB2 Universal Database Server 'db2db' Local Privilege Escalation Vulnerability

IBM DB2 Universal Database Server is prone to a local privilege-escalation vulnerability because of how the application contructs library paths.

Exploiting this issue allows local attackers to gain root privileges. Note that an attacker must be able to execute the set-uid root 'db2pd' binary to exploit this issue.

DB2 Universal Database Server 9.1 FixPack 2 on Linux systems is vulnerable. Other versions, including those for other UNIX platforms, are suspected to be vulnerable.

NOTE: This vulnerability was previously disclosed in BID 27596 'IBM DB2 Universal Database Server 8.2 Prior To Fixpak 16 Multiple Local Vulnerabilities'. Due to more information, it has been assigned its own record.

Exploit / POC

IBM DB2 Universal Database Server 'db2db' Local Privilege Escalation Vulnerability

An attacker can exploit this issue by gaining local interactive access to the affected computer. Note that the attacker must be able to execute the set-uid root 'db2pd' binary to exploit this issue.

Solution / Fix

IBM DB2 Universal Database Server 'db2db' Local Privilege Escalation Vulnerability

Solution:
Please see the referenced advisories for information on obtaining and applying the appropriate updates.

References

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report