File: 1355.txt

package info (click to toggle)
snort 2.9.15.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 59,656 kB
  • sloc: ansic: 310,441; sh: 13,260; makefile: 2,943; yacc: 497; perl: 496; lex: 261; sed: 14
file content (47 lines) | stat: -rw-r--r-- 1,276 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
Rule:

--
Sid:
1349

--
Summary:
Attempted /usr/bin/perl access via web

--
Impact:
Attempt to execute a perl script on a host.

--
Detailed Information:
This is an attempt to execute a perl script on a host. perl is a scripting language that is available on a wide variety of platforms. By default perl code runs with full access to all libraries and inbuilt commands available to the language. When combined with the access permissions of the user executing the script, the consequences of running arbitrary code can be devastating

--
Attack Scenarios:
The attacker can make a standard HTTP transaction that includes a reference to perl in the URI.

--
Ease of Attack:
Simple HTTP.

--
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's designated web root or cgi-bin. perl may also be requested on a command line should the attacker gain access to the machine. Whenever possible, all perl scripts on the host should be written using the restriceted access mode. This forces perl to execute the scripts in a "sandbox" which will disallow unsafe operations in the code.
--
Contributors:
Sourcefire Research Team

-- 
Additional References:
sid: 1350

--