IBM DB2 Universal Database 8.1 DB2RCMD.EXE DB2REMOTECMD privileges management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in IBM DB2 Universal Database 8.1. This affects the function DB2REMOTECMD of the file DB2RCMD.EXE. This manipulation causes privileges management.
This vulnerability is tracked as CVE-2004-0795. No exploit exists.
Details
A vulnerability was found in IBM DB2 Universal Database 8.1 (Database Software). It has been declared as critical. Affected by this vulnerability is the function DB2REMOTECMD of the file DB2RCMD.EXE. The manipulation with an unknown input leads to a privileges management vulnerability. The CWE definition for the vulnerability is CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
DB2 8.1 remote command server (DB2RCMD.EXE) executes the db2rcmdc.exe program as the db2admin administrator, which allows local users to gain privileges via the DB2REMOTECMD named pipe.
The bug was discovered 03/09/2004. The weakness was disclosed 10/20/2004 by David Litchfield (Website). It is possible to read the advisory at xforce.iss.net. This vulnerability is known as CVE-2004-0795 since 08/19/2004. The exploitation appears to be easy. Attacking locally is a requirement. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 225 days. During that time the estimated underground price was around $5k-$25k. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19088 (IBM DB2 Remote Command Server Privilege Escalation Vulnerability).
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (15420), SecurityFocus (BID 9821†), OSVDB (4180†) and Vulnerability Center (SBV-9799†). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.ibm.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.4VulDB Meta Temp Score: 8.4
VulDB Base Score: 8.4
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Privileges managementCWE: CWE-269 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Highly functional
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Qualys ID: 🔍
Qualys Name: 🔍
MetaSploit ID: db2rcmd.rb
MetaSploit Name: IBM DB2 db2rcmd.exe Command Execution Vulnerability
MetaSploit File: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
PaloAlto IPS: 🔍
Timeline
03/09/2004 🔍03/09/2004 🔍
08/19/2004 🔍
10/20/2004 🔍
10/20/2004 🔍
10/20/2004 🔍
12/01/2005 🔍
01/09/2015 🔍
07/11/2025 🔍
Sources
Vendor: ibm.comAdvisory: xforce.iss.net
Researcher: David Litchfield
Status: Not defined
CVE: CVE-2004-0795 (🔍)
GCVE (CVE): GCVE-0-2004-0795
GCVE (VulDB): GCVE-100-22327
X-Force: 15420
SecurityFocus: 9821 - IBM DB2 Remote Command Server Privilege Escalation Vulnerability
OSVDB: 4180 - IBM - DB2 - Remote Command Server Privilege Escalation Issue
Vulnerability Center: 9799 - IBM DB2 Remote Command Server Privilege Elevation, High
Entry
Created: 01/09/2015 16:12Updated: 07/11/2025 20:45
Changes: 01/09/2015 16:12 (64), 06/12/2019 06:16 (4), 07/11/2025 20:45 (18)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.