[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 796/06 - Gentoo Linux Security Advisory: GLSA 200611-26 - ProFTPD: Remote execution of arbitrary code



 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------------------------
       UNIRAS (UK Government CERT) Briefing - 796/06 Dated 01.12.06 Time 13:55  

UNIRAS is part of NISCC (the UK National Infrastructure Security  Co-ordination Centre)
- ---------------------------------------------------------------------------------------
 	UNIRAS material is available from the NISCC website at www.niscc.gov.uk
- ---------------------------------------------------------------------------------------

Title
=====

Gentoo Linux Security Advisory: GLSA 200611-26 - ProFTPD: Remote execution of arbitrary code

Detail
======

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.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200611-26
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: ProFTPD: Remote execution of arbitrary code
      Date: November 30, 2006
      Bugs: #154650
        ID: 200611-26

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

ProFTPD is affected by mutiple vulnerabilities allowing for the remote execution of arbitrary code.

Background
==========

ProFTPD is a highly-configurable FTP server.

Affected packages
=================

    -------------------------------------------------------------------
     Package          /  Vulnerable  /                      Unaffected
    -------------------------------------------------------------------
  1  net-ftp/proftpd      < 1.3.0a                           >= 1.3.0a

Description
===========

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.

Resolution
==========

All ProFTPD users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-ftp/proftpd-1.3.0a"

References
==========

  [ 1 ] CVE-2006-5815
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5815
  [ 2 ] CVE-2006-6170
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6170
  [ 3 ] CVE-2006-6171 (disputed)
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6171

Availability
============

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200611-26.xml

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@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text belongs to its owner(s).

The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5


- ---------------------------------------------------------------------------------------
NISCC values your feedback.

1. Which of the following most reflects the value of the briefing to you?
   (Place an 'X' next to your choice)

	Very useful:__ Useful:__ Not useful:__ 

2. If you did not find it useful, why not?


3. Any other comments? How could we improve our briefings?


Thank you for your contribution.
- ---------------------------------------------------------------------------------------

For additional information or assistance, please contact our help desk by telephone.  
You may send Not Protectively Marked information via e-mail to uniras@xxxxxxxxxxxxx

Office hours:

Mon - Fri: 08:30 - 17:00 hours
Tel: +44 (0) 870 487 0748 and follow the voice prompts
Fax: +44 (0) 870 487 0749

On-call duty officer outside office hours:
Tel: +44 (0) 870 487 0748 and follow the voice prompts

- ---------------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Gentoo for the information contained 

in this briefing.
- ---------------------------------------------------------------------------------------

This notice contains information released by the original author. Some of the information may have changed since it was released. If
the vulnerability affects you, it may be prudent to retrieve the advisory from the site of the original source to ensure that you
receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade name, trademark manufacturer, or otherwise, does not
constitute or imply its endorsement, recommendation, or favouring by UNIRAS or NISCC. The views and opinions of authors expressed
within this notice shall not be used for advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors or omissions contained within this briefing notice. In
particular, they shall not be liable for any loss or damage whatsoever, arising from or in connection with the usage of information
contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) and has contacts with other international Incident
Response Teams (IRTs) in order to foster cooperation and coordination in incident prevention, to prompt rapid reaction to incidents,
and to promote information sharing amongst its members and the community at large.
- ---------------------------------------------------------------------------------------
<End of UNIRAS Briefing>



-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBRXAzTml7oeQsXfKvEQIg7ACg16bVrRe2pmZTuAeTrGGpFG6bnqAAoPJF
ZW6Gh3LXk4J3Mjqe+xZPxG/C
=wlHh
-----END PGP SIGNATURE-----


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________