Improper authorization in Apple Xcode - CVE-2004-2687

 

Improper authorization in Apple Xcode - CVE-2004-2687

Published: April 25, 2018 / Updated: July 30, 2022


Vulnerability identifier: #VU12159
CSH Severity: Low
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2004-2687
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The weakness exists in distcc due to improper authorization checks when not configured to restrict access to the server port. A remote attacker can execute arbitrary commands via compilation jobs.

Affected software

Apple Xcode
Fedora
distcc

How to mitigate CVE-2004-2687

Install update from vendor's website.

distcc - addressed in versions 3.2 rc1-3.el6, 3.2 rc1-22.el7, 3.2 rc1-22.fc28, 3.2 rc1-22.fc29

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins