{"id":"CVE-2004-2687","aliases":["DEBIAN-CVE-2004-2687","EUVD-2004-2677","GHSA-88vv-hvrc-733q"],"status":"published","title":"distcc 2.x, as used in XCode 1.5 and others, when not configured to restrict access to the server...","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.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.87359,"percentile":0.99757,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-16"],"published":"2004-12-31T05:00:00Z","modified":"2026-10-21T15:47:34Z","exploits":[{"source":"exploitdb","id":"EDB-9915","title":"DistCC Daemon - Command Execution (Metasploit)","type":"remote","platform":"multiple","date":"2002-02-01","verified":true,"url":"https://www.exploit-db.com/exploits/9915"},{"source":"metasploit","id":"exploit/unix/misc/distcc_exec","title":"DistCC Daemon Command Execution","type":"exploit","platform":"Unix","date":"2002-02-01","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/unix/misc/distcc_exec"},{"source":"nuclei","id":"CVE-2004-2687","title":"Distccd v1 - Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2004/CVE-2004-2687.yaml"},{"source":"pocgithub","id":"aish19siddiqua-commits/mtechweek_04","title":"aish19siddiqua-commits/mtechweek_04","date":"2026-08-22","url":"https://github.com/aish19siddiqua-commits/mtechweek_04"},{"source":"pocgithub","id":"germarr93/CyberSecurity-Pentest-Lab","title":"germarr93/CyberSecurity-Pentest-Lab","date":"2026-09-11","url":"https://github.com/germarr93/CyberSecurity-Pentest-Lab"},{"source":"pocgithub","id":"h3x0v3rl0rd/distccd_rce_CVE-2004-2687","title":"h3x0v3rl0rd/distccd_rce_CVE-2004-2687","date":"2021-07-01","url":"https://github.com/h3x0v3rl0rd/distccd_rce_CVE-2004-2687"},{"source":"pocgithub","id":"k4miyo/CVE-2004-2687","title":"k4miyo/CVE-2004-2687","date":"2021-08-28","url":"https://github.com/k4miyo/CVE-2004-2687"},{"source":"pocgithub","id":"micheaol/distccd_rce_CVE-2004-2687","title":"micheaol/distccd_rce_CVE-2004-2687","date":"2026-04-20","url":"https://github.com/micheaol/distccd_rce_CVE-2004-2687"},{"source":"pocgithub","id":"nulltrace1336/Metasploitable-2-Distcc-Exploit-via-Kali-Linux-CVE-2004-2687","title":"nulltrace1336/Metasploitable-2-Distcc-Exploit-via-Kali-Linux-CVE-2004-2687","date":"2025-12-23","url":"https://github.com/nulltrace1336/Metasploitable-2-Distcc-Exploit-via-Kali-Linux-CVE-2004-2687"},{"source":"pocgithub","id":"ocfagb/hacktivity-vulns-exploits-lab","title":"ocfagb/hacktivity-vulns-exploits-lab","date":"2026-08-27","url":"https://github.com/ocfagb/hacktivity-vulns-exploits-lab"}],"fixes":[{"ecosystem":"Debian:12","package":"distcc","fixed_in":["2.18.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"distcc","fixed_in":["2.18.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"distcc","fixed_in":["2.18.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"distcc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"distcc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"distcc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-1"}]}]}],"products":[{"vendor":"apple","product":"xcode"},{"vendor":"samba","product":"samba"}],"references":[{"url":"http://archives.neohapsis.com/archives/bugtraq/2005-03/0183.html","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.osvdb.org/13378","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://lists.samba.org/archive/distcc/2004q3/002562.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.metasploit.org/projects/Framework/exploits.html#distcc_exec","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"http://distcc.samba.org/security.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://lists.samba.org/archive/distcc/2004q3/002550.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-2687"},{"url":"https://github.com/advisories/GHSA-88vv-hvrc-733q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-2687","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-2687","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.","status":"published","published":"2007-09-23T23:00:00Z","modified":"2024-09-16T18:40:06.152Z","updated_at":"2026-11-02T14:34:53.70484Z"}],"euvd":[{"id":"EUVD-2004-2677","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.","status":"published","published":"2007-09-23T23:00:00Z","modified":"2024-09-16T18:40:06Z","updated_at":"2026-11-03T00:55:30.209098Z"}],"ghsa":[{"id":"GHSA-88vv-hvrc-733q","title":"distcc 2.x, as used in XCode 1.5 and others, when not configured to restrict access to the server...","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.","status":"published","published":"2022-04-29T03:01:55Z","modified":"2023-01-30T05:04:20Z","updated_at":"2026-11-02T14:47:01.271351Z"}],"nvd":[{"id":"CVE-2004-2687","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:10:08.157Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-16"],"updated_at":"2026-11-02T14:00:53.133049Z"}],"osv":[{"id":"CVE-2004-2687","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-04-10T03:36:47.382404Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-2687","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-10-21T15:47:34.865532Z","updated_at":"2026-11-02T15:45:22.55978Z"}]}}
