Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 56c5837d9d111437878acba01e4df73e > files > 490

snort-2.3.3-2.3.20060mdk.x86_64.rpm

Rule:

--
Sid:
1337

--
Summary:
Attempted chgrp command access via web

--
Impact:
Attempt to change group permissions on a webserver.

--
Detailed Information:
This is an attempt to change file permissions on a machine. Using this
command anattacker may change the permissions of a file to suit his
own needs,make a file readable, writeable or excutable to other groups
that wouldotherwise not have these special permissions.

--
Attack Scenarios:
The attacker can make a standard HTTP request that contains '/bin/chgrp'
in the URIwhich can then change file permissions of files present on
the host.Thiscommand may also be requested on a command line should
the attacker gainaccess to the machine.

--
Ease of Attack:
Simple HTTP request.

--
False Positives:
None Known

--
False Negatives:
None Known

--
Corrective Action:

Webservers should not be allowed to view or execute files and binaries
outside of it'sdesignated web root or cgi-bin.Whenever possible,
sensitive filesand certain areas of the filesystem should have the
system immutableflag set to negate the use of the chgrp command. On
BSD derived systems,setting the systems runtime securelevel also
prevents the securelevelfrom being changed. (note: the securelevel can
only beincreased)

--
Contributors:
Sourcefire Research Team

-- 
Additional References:
sid: 1336
sid: 1338

man chgrp

man chmod

--