(Gentoo Issues Fix) oftpd Can Be Crashed By Remote Users Sending a PORT Command
|
|
SecurityTracker Alert ID: 1009589 |
|
SecurityTracker URL: http://securitytracker.com/id/1009589
|
|
CVE Reference:
CAN-2004-0376
(Links to External Site)
|
Updated: Apr 4 2004
|
Original Entry Date: Mar 29 2004
|
Impact:
Denial of service via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 0.3.6
|
Description:
A denial of service vulnerability was reported in oftpd. A remote user can cause the server to crash.
Philippe Oechslin reported that a remote user can cause the FTP service to crash by sending an FTP PORT command with a port number higher than 255. The oftpd daemon will then crash and must be manually restarted to return to normal operations.
As a demonstration exploit, the report indicates that you can telnet to the target FTP service on TCP port 21 and then type "port 300" with a return to cause the FTP service to crash.
Andreas Rueegg and Philippe Oechslin of the Security Bug Catcher project (http://lasecwww.epfl.ch/philippe.shtml) are credited with discovery.
|
Impact:
A remote user can cause the oftpd daemon to crash. The daemon must be manually restarted to return to normal operations.
|
Solution:
Gentoo has released a fix and recommends that all users upgrade to the current version of the affected package:
# emerge sync
# emerge -pv ">=net-ftp/oftpd-0.3.7"
# emerge ">=net-ftp/oftpd-0.3.7"
|
Vendor URL: www.time-travellers.org/oftpd/oftpd-dos.html (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
Linux (Gentoo)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Mon, 29 Mar 2004 10:20:00 -0500
Subject: [gentoo-announce] [ GLSA 200403-08 ] oftpd DoS vulnerability
|
--WVhxcSV8VTJlfoH7
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200403-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: oftpd DoS vulnerability
Date: March 29, 2004
Bugs: #45738
ID: 200403-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
A remotely-exploitable overflow exists in oftpd, allowing an attacker
to crash the oftpd daemon.
Background
==========
Quote from http://www.time-travellers.org/oftpd/
"oftpd is designed to be as secure as an anonymous FTP server can
possibly be. It runs as non-root for most of the time, and uses the
Unix chroot() command to hide most of the systems directories from
external users - they cannot change into them even if the server is
totally compromised! It contains its own directory change code, so that
it can run efficiently as a threaded server, and its own directory
listing code (most FTP servers execute the system "ls" command to list
files)."
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
net-ftp/oftpd <= 0.3.6 >= 0.3.7
Description
===========
Issuing a port command with a number higher than 255 causes the server
to crash. The port command may be issued before any authentication
takes place, meaning the attacker does not need to know a valid
username and password in order to exploit this vulnerability.
Impact
======
This exploit causes a denial of service.
Workaround
==========
While a workaround is not currently known for this issue, all users are
advised to upgrade to the latest version of the affected package.
Resolution
==========
All users should upgrade to the current version of the affected
package:
# emerge sync
# emerge -pv ">=net-ftp/oftpd-0.3.7"
# emerge ">=net-ftp/oftpd-0.3.7"
References
==========
[ 1 ] http://www.time-travellers.org/oftpd/oftpd-dos.html
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.
--WVhxcSV8VTJlfoH7
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAaD6gJPpRNiftIEYRAm7hAJ9nQPf7mvqWeAM3GsycFJF/l5x/HwCfcbXf
7bIJ7SssvKSfkp/yMq3IIx0=
=SVB4
-----END PGP SIGNATURE-----
--WVhxcSV8VTJlfoH7--
|
|