9.3
HIGH CVSS 2.0
CVE-2004-2687
Apple XCode distcc Remote Code Execution Vulnerability
Description

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.

INFO

Published Date :

Dec. 31, 2004, 5 a.m.

Last Modified :

April 16, 2026, 12:27 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2004-2687 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Samba samba
1 Apple xcode
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
Solution
The distcc package is vulnerable to remote code execution.
  • Update the affected distcc package.
  • Consider restricting access to the server port.
Public PoC/Exploit Available at Github

CVE-2004-2687 has a 74 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2004-2687 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2004-2687 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Penetration testing lab — 25+ CVEs discovered, CVSS scoring, and full remediation report using Nessus and Kali Linux

Updated: 1 day, 16 hours ago
0 stars 0 fork 0 watcher
Born at : June 14, 2026, 8:08 p.m. This repo has been linked 5 different CVEs too.

Internal penetration test of a Metasploitable2 Linux server (ethical hacking capstone).

Updated: 3 days, 8 hours ago
0 stars 0 fork 0 watcher
Born at : June 13, 2026, 4:24 a.m. This repo has been linked 4 different CVEs too.

None

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 7, 2026, 8:36 p.m. This repo has been linked 4 different CVEs too.

None

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 7, 2026, 3:29 p.m. This repo has been linked 11 different CVEs too.

None

HTML

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 7, 2026, 1:44 p.m. This repo has been linked 3 different CVEs too.

Hands‑on exploitation of a vulnerable Linux machine. Nmap enumeration, Metasploit DistCC RCE, system enumeration, and documented attack chain.

Updated: 1 week, 1 day ago
1 stars 0 fork 0 watcher
Born at : June 7, 2026, 3:49 a.m. This repo has been linked 1 different CVEs too.

Isolated virtual cybersecurity lab — Kali Linux + Metasploitable 2 | PRJ-01

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : June 1, 2026, 11:30 p.m. This repo has been linked 1 different CVEs too.

Hack The Box writeups, enumeration notes, exploitation walkthroughs, and lessons learned during offensive security labs.

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : May 27, 2026, 12:22 a.m. This repo has been linked 5 different CVEs too.

Full black-box penetration test — reconnaissance to root compromise — with blue team detection gap analysis

Updated: 3 weeks, 6 days ago
0 stars 0 fork 0 watcher
Born at : May 19, 2026, 2:17 p.m. This repo has been linked 3 different CVEs too.

None

Updated: 3 days, 1 hour ago
0 stars 0 fork 0 watcher
Born at : May 11, 2026, 8:51 a.m. This repo has been linked 5 different CVEs too.

Offline pentest output triage. 194 attack chains across 58 categories. No telemetry, no cloud.

Python

Updated: 1 month ago
1 stars 0 fork 0 watcher
Born at : May 7, 2026, 3:48 p.m. This repo has been linked 15 different CVEs too.

None

Dockerfile Shell C

Updated: 3 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : May 5, 2026, 8:33 a.m. This repo has been linked 4 different CVEs too.

SOC Vulnerability Assessment Home Lab — Nessus + Metasploitable 2

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 5:42 p.m. This repo has been linked 5 different CVEs too.

None

Shell

Updated: 4 weeks ago
0 stars 0 fork 0 watcher
Born at : May 1, 2026, 7:03 p.m. This repo has been linked 5 different CVEs too.

Offline cybersecurity CTF training platform built with Kali Linux, Ubuntu Server, vulnerable services, web enumeration, and progressive flag-based challenges.

Updated: 1 month, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : April 25, 2026, 10:36 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2004-2687 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2004-2687 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • by [email protected]

    Apr. 16, 2026

    Action Type Old Value New Value
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 20, 2024

    Action Type Old Value New Value
    Added Reference http://archives.neohapsis.com/archives/bugtraq/2005-03/0183.html
    Added Reference http://distcc.samba.org/security.html
    Added Reference http://lists.samba.org/archive/distcc/2004q3/002550.html
    Added Reference http://lists.samba.org/archive/distcc/2004q3/002562.html
    Added Reference http://www.metasploit.org/projects/Framework/exploits.html#distcc_exec
    Added Reference http://www.osvdb.org/13378
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Sep. 24, 2007

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.