nday
CVE-2004-0795

DB2 8.1 remote command server (DB2RCMD.EXE) executes the db2rcmdc.exe program as the db2admin…Title composed by nday; the CVE record has none.

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: metasploit. Not in CISA KEV.

tags accesslocalno authentication required exploitationMetasploit productDb2 product typedatabase
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

local
AV:L in AV:L/AC:L/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:L/AC:L/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
Metasploit
Metasploit modules auxiliary/admin/db2/db2rcmd
Db2
CPE names NVD's analysts give as vulnerable: a:ibm:db2_universal_database
database
CPE names NVD's analysts give as vulnerable: a:ibm:db2_universal_databasethe product type of Db2 in nday's product registry

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2004-08-20T04:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 81700,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2004-0795",
  "occurred_at": "2004-08-20T04:00:00Z",
  "observed_at": "2026-11-13T05:35:38.65165Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2004-08-20T04:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module auxiliary/admin/db2/db2rcmd (IBM DB2 db2rcmd.exe Command Execution Vulnerability). The source gives no release time for the module.

src metasploit auxiliary/admin/db2/db2rcmd · nday , bulk import · raw
{
  "id": 49544,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/db2/db2rcmd.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/admin/db2/db2rcmd",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/db2/db2rcmd.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/admin/db2/db2rcmd.rb",
    "rank": 300,
    "check": false,
    "title": "IBM DB2 db2rcmd.exe Command Execution Vulnerability",
    "cve_ids": [
      "CVE-2004-0795"
    ],
    "fullname": "auxiliary/admin/db2/db2rcmd",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2025-05-21 08:32:40 +0000",
    "vuln_disclosure_date": "2004-03-04"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.