1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
Rule:
--
Sid:
3061
--
Summary:
This event is generated when an attempt is made to connect to the distcc
daemon.
--
Impact:
Serious. Execution of arbitrary commands may be possible.
--
Detailed Information:
Distcc is an open source distributed C/C++ compiler that can be used
to compile code on remote hosts that run the distcc daemon. A vulnerability
exists in the handling of commands that are generated via a distcc client. The
server does not ensure that compile commands only are sent to it. A command
sequence can be created that executes commands on a vulnerable server. No
authentication is required to execute a command on a distcc server.
--
Affected Systems:
2.18.3 and prior
--
Attack Scenarios:
An attacker can generated a valid distcc command sequence that executes
a command other than a compile on a vulnerable distcc server.
--
Ease of Attack:
Simple.
--
False Positives:
This is a policy rule and requires proper customization for the
variable $EXTERNAL_NET for sites that allow distcc traffic from
remote hosts. The $EXTERNAL_NET variable should be replaced with
the IP address(es) of unauthorized client hosts only.
--
False Negatives:
None known.
--
Corrective Action:
Use the --allow <hosts> option when starting the distcc daemon
to specify authorized client hosts.
--
Contributors:
Sourcefire Vulnerability Research Team
Judy Novak <judy.novak@sourcefire.com>
--
Additional References:
--
|