nday
CVE-2004-2687

distcc 2.x, as used in XCode 1.5 and others, when not configured to restrict access to the server…Title composed by nday; the CVE record has none.

A public PoC appeared 2,060 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 3 of 4 PoC sources: exploitdb, metasploit, and nuclei. Not in CISA KEV.

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.

network
AV:N in AV:N/AC:M/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:M/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
Metasploit
Metasploit modules exploit/unix/misc/distcc_exec
Exploit-DB
Exploit-DB entries 9915
nuclei
nuclei templates CVE-2004-2687

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
2007-09-23T23:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2002-02-01, date only
metasploit, nuclei
ITWexploited
no record yet
KEVKEV
no record yet

Summary

distcc 2.x, as used in XCode 1.5 and others, when not configured to restrict access to the server port, allows remote attackers to execute arbitrary commands via compilation jobs, which are executed by the server without authorization checks.

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

Event log

2002-02-01date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “DistCC Daemon - Command Execution (Metasploit)” (EDB-9915). Verified by Exploit-DB.

src exploitdb 9915 · nday , bulk import · raw
{
  "id": 26948,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/9915",
  "occurred_at": "2002-02-01T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "9915",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/9915",
    "file": "exploits/multiple/remote/9915.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "DistCC Daemon - Command Execution (Metasploit)",
    "author": "H D Moore",
    "edb_id": 9915,
    "cve_ids": [
      "CVE-2004-2687"
    ],
    "platform": "multiple",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2002-01-31",
    "date_updated": "2017-04-01",
    "date_published": "2002-02-01"
  }
}
+DISdisclosed

CVE record published by mitre.

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

Metasploit has module exploit/unix/misc/distcc_exec (DistCC Daemon Command Execution). The source gives no release time for the module.

src metasploit exploit/unix/misc/distcc_exec · nday , bulk import · raw
{
  "id": 51708,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/misc/distcc_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/unix/misc/distcc_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/misc/distcc_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/unix/misc/distcc_exec.rb",
    "rank": 600,
    "check": true,
    "title": "DistCC Daemon Command Execution",
    "cve_ids": [
      "CVE-2004-2687"
    ],
    "fullname": "exploit/unix/misc/distcc_exec",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:59:31 +0000",
    "vuln_disclosure_date": "2002-02-01"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2004-2687 (Distccd v1 - Remote Code Execution). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 57572,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2004/CVE-2004-2687.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2004-2687",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2004/CVE-2004-2687.yaml",
    "kind": "detection_template",
    "title": "Distccd v1 - Remote Code Execution",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "9.3",
    "template_id": "CVE-2004-2687",
    "template_path": "network/cves/2004/CVE-2004-2687.yaml"
  }
}

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.