Skip to content
Noroxi
CVE-2004-2687· NVD / CVE Program· CNA mitre

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 a

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.

CriticalCVSS 9.3 · v2.0—Weaponized Fix available
Published
Dec 31, 2004
Updated
Jun 16, 2026
EPSS
88.2% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

63

This week

Don’t wait for the next maintenance window.

CVSS
37 / 40 · 9.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
26 / 30 · 88.2%

Affected systems

VendorProduct
applexcode
sambasamba

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apple xcode1.5
  • samba sambaup to 2.18.3 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12distccbefore 2.18.1-12.18.1-1

Other highest-scoring records for the same primary product.

  • CVE-2015-7082Multiple unspecified vulnerabilities in Git before 2.5.4, as used in Apple Xcode before 7.2, have unknown impact and attack vectors.
    41Plan
  • CVE-2018-4164An issue was discovered in certain Apple products.
    40Plan
  • CVE-2019-8724Multiple issues in ld64 in the Xcode toolchains were addressed by updating to version ld64-507.4.
    36Monitor
  • CVE-2019-8723Multiple issues in ld64 in the Xcode toolchains were addressed by updating to version ld64-507.4.
    36Monitor
  • CVE-2019-8722Multiple issues in ld64 in the Xcode toolchains were addressed by updating to version ld64-507.4.
    36Monitor
  • CVE-2019-8721Multiple issues in ld64 in the Xcode toolchains were addressed by updating to version ld64-507.4.
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:distcc2.18.1-1 · Debian:12Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×1
  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×7

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2002-02-01
Metasploit moduleexploit/unix/misc/distcc_execDistCC Daemon Command Executionexploit2002-02-01
Nuclei detection templateNuclei template CVE-2004-2687 —
Proof-of-concept repository on GitHubstars:22021-07-01
Proof-of-concept repository on GitHubstars:12021-08-28
Proof-of-concept repository on GitHubstars:02025-12-23
Proof-of-concept repository on GitHubstars:02026-04-20
Proof-of-concept repository on GitHubstars:02026-08-22
Proof-of-concept repository on GitHubstars:02026-08-27
Proof-of-concept repository on GitHubstars:02026-09-11

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-1064 d
  2. Metasploit-1064 d
  3. Published
  4. TodaySep 30, 2026+7943 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

    If successful

    Confidentiality
    C · data can be read
    Integrity
    C · data or configuration can be modified
    Availability
    C · the service can be disrupted
    Attack complexity
    M
    Confidentiality impact
    C
    Integrity impact
    C
    Availability impact
    C

    Weakness class (CWE)

    CWE-16 · Configuration

    CVSS vector

    AV:N/AC:M/Au:N/C:C/I:C/A:C

    nvd-primary

    Attack context

    MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

    MITRE has no CAPEC/ATT&CK mapping for this CWE.

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records