[Full-disclosure] [ GLSA 200504-12 ] rsnapshot: Local privilege escalation

From: Thierry Carrez (koon_at_gentoo.org)
Date: 04/13/05

  • Next message: Micheal Espinola Jr: "[Full-disclosure] Microsoft April Security Bulletin Webcast BS"
    Date: Wed, 13 Apr 2005 20:10:07 +0200
    To: gentoo-announce@lists.gentoo.org
    
    
    
    

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 200504-12
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                http://security.gentoo.org/
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

      Severity: High
         Title: rsnapshot: Local privilege escalation
          Date: April 13, 2005
          Bugs: #88681
            ID: 200504-12

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

    Synopsis
    ========

    rsnapshot allow a local user to take ownership of local files,
    resulting in privilege escalation.

    Background
    ==========

    rsnapshot is a filesystem snapshot utility based on rsync, allowing
    local and remote systems backups.

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

        -------------------------------------------------------------------
         Package / Vulnerable / Unaffected
        -------------------------------------------------------------------
      1 net-misc/rsnapshot < 1.2.1 >= 1.2.1

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

    The copy_symlink() subroutine in rsnapshot follows symlinks when
    changing file ownership, instead of changing the ownership of the
    symlink itself.

    Impact
    ======

    Under certain circumstances, local attackers can exploit this
    vulnerability to take ownership of arbitrary files, resulting in local
    privilege escalation.

    Workaround
    ==========

    The copy_symlink() subroutine is not called if the cmd_cp parameter has
    been enabled.

    Resolution
    ==========

    All rsnapshot users should upgrade to the latest version:

        # emerge --sync
        # emerge --ask --oneshot --verbose ">=net-misc/rsnapshot-1.2.1"

    References
    ==========

      [ 1 ] rsnapshot Security Advisory 001
            http://www.rsnapshot.org/security/2005/001.html

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

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

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

    License
    =======

    Copyright 2005 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.0

    
    

    
    

    _______________________________________________
    Full-Disclosure - We believe in it.
    Charter: http://lists.grok.org.uk/full-disclosure-charter.html
    Hosted and sponsored by Secunia - http://secunia.com/



  • Next message: Micheal Espinola Jr: "[Full-disclosure] Microsoft April Security Bulletin Webcast BS"

    Relevant Pages