Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200611-26] ProFTPD: Remote execution of arbitrary code


Vulnerability Assessment Details

[GLSA-200611-26] ProFTPD: Remote execution of arbitrary code

Vulnerability Assessment Summary
ProFTPD: Remote execution of arbitrary code

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200611-26
(ProFTPD: Remote execution of arbitrary code)


Evgeny Legerov discovered a stack-based buffer overflow in the
s_replace() function in support.c, as well as a buffer overflow in in
the mod_tls module. Additionally, an off-by-two error related to the
CommandBufferSize configuration directive was reported.

Impact

An authenticated attacker could exploit the s_replace() vulnerability
by uploading a crafted .message file or sending specially crafted
commands to the server, possibly resulting in the execution of
arbitrary code with the rights of the user running ProFTPD. An
unauthenticated attacker could send specially crafted data to the
server with mod_tls enabled which could result in the execution of
arbitrary code with the rights of the user running ProFTPD. Finally,
the off-by-two error related to the CommandBufferSize configuration
directive was fixed - exploitability of this error is disputed. Note
that the default configuration on Gentoo is to run ProFTPD as an
unprivileged user, and has mod_tls disabled.

Workaround

There is no known workaround at this time.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5815
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6170
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6171


Solution:
All ProFTPD users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-ftp/proftpd-1.3.0a"


Network Security Threat Level: High


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2006 Michel Arboi

Cables, Connectors

Cisco Small Bus. 24-Port GB Managed PoE Switch w/ 4-Port 10GB SFP *Fact. Reset*
$900.0
Cisco Small Bus. 24-Port GB Managed PoE Switch w/ 4-Port 10GB SFP *Fact. Reset* pictureWhite Rock Networks OC-48 x1 LR 1550 SFP 38-1001944-0310 WR-P048E-L01-55000
$79.99
White Rock Networks OC-48 x1 LR 1550 SFP 38-1001944-0310 WR-P048E-L01-55000 pictureGLC-SX-MM (Lot of 40) 1000BASE-SX SFP Trans Module class 1 laser 21CFR for CISCO
$28.0
GLC-SX-MM (Lot of 40) 1000BASE-SX SFP Trans Module class 1 laser 21CFR for CISCO pictureLot of (15) NHR SFP GE S LC Optical Transceiver SFP--SR-NHR
$24.0
Lot of (15) NHR SFP GE S LC Optical Transceiver SFP--SR-NHR picture


Discussions

No Discussions have been posted on this vulnerability.