[ GLSA 200408-23 ] kdelibs: Cross-domain cookie injection vulnerability

From: Joshua J. Berry (condordes_at_gentoo.org)
Date: 08/24/04

  • Next message: Nikyt0x Argentina: "PHP Code Snippet Library Multiple Cross-Site Scripting (XSS) Vulnerabilities"
    Date: Tue, 24 Aug 2004 13:56:43 -0700
    To: gentoo-announce@lists.gentoo.org
    
    
    

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 200408-23
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                http://security.gentoo.org/
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

      Severity: Low
         Title: kdelibs: Cross-domain cookie injection vulnerability
          Date: August 24, 2004
          Bugs: #61389
            ID: 200408-23

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

    Synopsis
    ========

    The cookie manager component in kdelibs contains a vulnerability
    allowing an attacker to potentially gain access to a user's session on
    a legitimate web server.

    Background
    ==========

    KDE is a widely-used desktop environment based on the Qt toolkit.
    kcookiejar in kdelibs is responsible for storing and managing HTTP
    cookies. Konqueror uses kcookiejar for storing and managing cookies.

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

        -------------------------------------------------------------------
         Package / Vulnerable / Unaffected
        -------------------------------------------------------------------
      1 kde-base/kdelibs <= 3.2.3-r1 >= 3.2.3-r2

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

    kcookiejar contains a vulnerability which may allow a malicious website
    to set cookies for other websites under the same second-level domain.

    This vulnerability applies to country-specific secondary top level
    domains that use more than 2 characters in the secondary part of the
    domain name, and that use a secondary part other than com, net, mil,
    org, gov, edu or int. However, certain popular domains, such as co.uk,
    are not affected.

    Impact
    ======

    Users visiting a malicious website using the Konqueror browser may have
    a session cookie set for them by that site. Later, when the user visits
    another website under the same domain, the attacker's session cookie
    will be used instead of the cookie issued by the legitimate site.
    Depending on the design of the legitimate site, this may allow an
    attacker to gain access to the user's session. For further explanation
    on this type of attack, see the paper titled "Session Fixation
    Vulnerability in Web-based Applications" (reference 2).

    Workaround
    ==========

    There is no known workaround at this time. All users are encouraged to
    upgrade to the latest available version of kdelibs.

    Resolution
    ==========

    All kdelibs users should upgrade to the latest version:

        # emerge sync

        # emerge -pv ">=kde-base/kdelibs-3.2.3-r2"
        # emerge ">=kde-base/kdelibs-3.2.3-r2"

    References
    ==========

      [ 1 ] KDE Advisory
            http://www.kde.org/info/security/advisory-20040823-1.txt
      [ 2 ] Session Fixation Vulnerability in Web-based Applications
            http://www.acros.si/papers/session_fixation.pdf

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

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

        http://security.gentoo.org/glsa/glsa-200408-23.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 2004 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/1.0

    
    



  • Next message: Nikyt0x Argentina: "PHP Code Snippet Library Multiple Cross-Site Scripting (XSS) Vulnerabilities"

    Relevant Pages

    • [Full-Disclosure] [ GLSA 200408-23 ] kdelibs: Cross-domain cookie injection vulnerability
      ... The cookie manager component in kdelibs contains a vulnerability ... kcookiejar in kdelibs is responsible for storing and managing HTTP ... a session cookie set for them by that site. ...
      (Full-Disclosure)
    • [Full-Disclosure] [gentoo-announce] [ GLSA 200408-23 ] kdelibs: Cross-domain cookie injection vulner
      ... The cookie manager component in kdelibs contains a vulnerability ... kcookiejar in kdelibs is responsible for storing and managing HTTP ... a session cookie set for them by that site. ...
      (Full-Disclosure)
    • [ GLSA 200408-23 ] kdelibs: Cross-domain cookie injection vulnerability
      ... The cookie manager component in kdelibs contains a vulnerability ... kcookiejar in kdelibs is responsible for storing and managing HTTP ... a session cookie set for them by that site. ...
      (Full-Disclosure)
    • Re: Sessions vs Cookies
      ... There is a session cookie which simply allows the server to identify the client and retrieve relevant session data for it. ... If cookies can be read or forged, it makes little odds whether you have the master key or all the little keys,. ... Suppose you only send the PHPSESSID: Now you cannot change a thing on the server, even if you have the 'master key'. ...
      (comp.lang.php)
    • Re: session wont timeout
      ... Maybe this is a session cookie issue? ... client browser there is this one: WSS_KeepSessionAuthenticated Expires: At ... If I kill the session cookie using IE Developer Toolbar, ... possible and IIS would throw another challenge. ...
      (microsoft.public.sharepoint.windowsservices)