IBM DB2 Universal Database 8.1 DB2RCMD.EXE DB2REMOTECMD privileges management

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.4
VulDB Meta Temp Score: 8.4

VulDB Base Score: 8.4
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Privileges management
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: db2rcmd.rb
MetaSploit Name: IBM DB2 db2rcmd.exe Command Execution Vulnerability
MetaSploit File: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍
PaloAlto IPS: 🔍

Timelineinfo

03/09/2004 🔍
03/09/2004 +0 days 🔍
08/19/2004 +163 days 🔍
10/20/2004 +62 days 🔍
10/20/2004 +0 days 🔍
10/20/2004 +0 days 🔍
12/01/2005 +407 days 🔍
01/09/2015 +3326 days 🔍
07/11/2025 +3836 days 🔍

Sourcesinfo

Vendor: ibm.com

Advisory: 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

Entryinfo

Created: 01/09/2015 16:12
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!