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 :
June 16, 2026, 10:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | HIGH | [email protected] |
Solution
- Update the affected distcc package.
- Consider restricting access to the server port.
Public PoC/Exploit Available at Github
CVE-2004-2687 has a 93 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2004-2687.
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).
Linux Server Penetration Testing ReportTarget: Metasploitable 2 (Vulnerable Lab Environment)Prepared By: MD ZIHAD, Date: 20/07/2026
Hands-on cybersecurity lab reports — VAPT, network scanning, and web app testing
Cybersecurity capstone project: security assessment of two legacy systems (Kioptrix, Metasploitable 2) for a simulated healthcare client. CVE-verified findings, risk assessment, and GRC policy recommendations — no exploitation performed..
None
Shell Dockerfile Python
None
Nessus Vulnerability Assessment project demonstrating CVE analysis, CVSS risk scoring, vulnerability management, and remediation planning.
cve cvss cybersecurity metasploitable nessus portfolio risk-assessment soc vulnerability-assessment vulnerability-management
Python HTML
An end-to-end incident response (IR) lifecycle investigation of a compromised legacy server, featuring live vulnerability verification, false-positive rejection, containment via iptables, and system hardening.
bash cybersecurity false-positive incident-response iptables security-analyst system-hardening vulnerability-assessment
Shell
Home lab project exploiting Metasploitable2 vulnerabilities via Kali Linux and Metasploit, with findings mapped to NIST CSF 2.0, ISO/IEC 27001:2022, and CIS Controls v8 into a full GRC risk register.
None
Shell
None
My Projects
Offensive to Defensive Security Lab — Attack Simulation, Hardening & SOC Automation
None
Automated SSH log analysis,sample osint and nmap test for educational purpose.
Automated web vulnerability assessment using OpenVAS on Kali Linux, scanning Metasploitable 2 to identify and prioritize CVE-based security risks.
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.
-
CVE Modified by [email protected]
Jun. 16, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'n/a', 'product': 'n/a', 'versions': [{'status': 'affected', 'version': 'n/a'}]}] -
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