File: 2343.txt

package info (click to toggle)
snort 2.7.0-20.4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 34,512 kB
  • ctags: 18,772
  • sloc: ansic: 115,404; sh: 10,893; makefile: 1,372; perl: 487; sql: 213
file content (73 lines) | stat: -rw-r--r-- 1,664 bytes parent folder | download | duplicates (6)
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
64
65
66
67
68
69
70
71
72
73
Rule:

--
Sid:
2343

--
Summary:
This event is generated when an attempt is made to exploit a buffer 
overflow vulnerability associated with WuFtpd STOR command. 

--
Impact:
Remote access.  A successful attack may permit the remote execution of 
arbitrary commands with system privileges.

--
Detailed Information:
WuFtpd is an FTP server based on BSD ftpd. A vulnerability exists 
with the STOR command that can cause a buffer overflow and permit the 
execution of arbitrary commands with system privileges. The buffer 
overflow can be caused by supplying an overly long argument to the STOR 
command.

The issue exists in the SockPrintf() function. A server using the
MAIL_ADMIN option to send email notifications to the administrator when
files are uploaded to the server, is vulnerable to the attack. It is
possible for an attacker to send malformed data to the store() function
via sockprintf() that will cause the overflow condition to occur, the
error can be generated by the attacker creating a filename greater than
32768 bytes in length.

--
Affected Systems:
	

--
Attack Scenarios:
An attacker can supply an overly long file argument with the STOR 
command, causing a buffer overflow.

--
Ease of Attack:
Simple.  

--
False Positives:
None Known.

--
False Negatives:
None Known.

--
Corrective Action:
Upgrade to the latest non-affected version of the software.

Use scp as an alternative to ftp

Disallow ftp access to internal resources from external sources

Disable the MAIL_ADMIN option

--
Contributors:
Sourcefire Research Team
Brian Caswell <bmc@sourcefire.com> 
Nigel Houghton <nigel.houghton@sourcefire.com>

--
Additional References:

--