What is CVE-2004-2687?
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.
The record classifies CVE-2004-2687 under weakness class CWE-16. 2 affected-product entries are recorded, across 2 vendors, listed below. The identifier was first published 6997 days ago.
Severity and exploitation probability
- CVSS v2.0 base score
- 9.3
AV:N/AC:M/Au:N/C:C/I:C/A:C - EPSS (FIRST)
- 80.9% probability of exploitation in the next 30 days, higher than 99.5% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 6.5/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2007-09-23
Is CVE-2004-2687 being exploited?
Weaponised exploit code for CVE-2004-2687 is publicly available. 5 public proof-of-concept repositories are tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (network/cves/2004/CVE-2004-2687.yaml).
- h3x0v3rl0rd/distccd_rce_CVE-2004-2687 (github)
- k4miyo/CVE-2004-2687 (github)
- nulltrace1336/Metasploitable-2-Distcc-Exploit-via-Kali-Linux-CVE-2004-2687 (github)
- micheaol/distccd_rce_CVE-2004-2687 (github)
- trickest/cve (trickest)
Affected products and versions
- Apple: Xcode 1.5
- Samba: Samba
How to fix CVE-2004-2687
No vendor patch reference has been recorded for CVE-2004-2687 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2004-2687
1 tracked threat in the Threadlinqs corpus references CVE-2004-2687, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories, ProjectDiscovery Nuclei. This product uses the NVD API but is not endorsed or certified by the NVD.
Vendor advisory and patch
Vulnerability database entry
Mailing list and disclosure
- archives.neohapsis.com — mailing list
- lists.samba.org — mailing list
- lists.samba.org — mailing list (002550)