File: 1336.txt

package info (click to toggle)
snort 2.3.3-11
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 22,512 kB
  • ctags: 11,344
  • sloc: ansic: 70,967; sh: 4,848; makefile: 748; perl: 478; sql: 212
file content (63 lines) | stat: -rw-r--r-- 1,371 bytes parent folder | download | duplicates (8)
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
63
Rule:

--
Sid:
1336

--
Summary:
Attempted chmod command access via web

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

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

--
Attack Scenarios:
The attacker can make a standard HTTP request that contains '/bin/chmod'
in the URI whichcan 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 ofit's designated web root or cgi-bin.Whenever possible,
sensitive files andcertain areas of the filesystem should have the
system immutable flagset to negate the use of the chmod 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: 1337
sid: 1338

man chmod

--