[UNIX] KDE Temporary Directory Vulnerability

From: SecuriTeam (support_at_securiteam.com)
Date: 08/16/04

  • Next message: SecuriTeam: "[UNIX] DCOPServer Temporary Filename Vulnerability"
    To: list@securiteam.com
    Date: 16 Aug 2004 11:48:28 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      KDE Temporary Directory Vulnerability
    ------------------------------------------------------------------------

    SUMMARY

    The SUSE security team was alerted that in some cases the integrity of
    symlinks used by KDE are not ensured and that these symlinks can be
    pointing to stale locations. This can be abused by a local attacker to
    create or truncate arbitrary files or to prevent KDE applications from
    functioning correctly (Denial of Service).

    KDE creates in ~/.kde symlinks to a temporary directory, a socket
    directory and a cache directory. When a user logs into the KDE environment
    the startkde script ensures that these symlinks are present and point to
    directories that are owned by the user. However, when a user runs KDE
    applications outside the KDE environment or when a user runs a KDE
    applications as another user, such as root, the integrity of these
    symlinks is not checked and it is possible that a previously created but
    now stale symlinks exist.

    DETAILS

    Systems affected:
     * All versions of KDE up to KDE 3.2.3 inclusive

    CVE Information:
     <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0689>
    CAN-2004-0689

    Impact:
    When a stale symlink is present a local attacker could create the
    directory that the symlink is pointing to with his own credentials to
    prevent access to this directory by KDE applications. This can prevent KDE
    applications from functioning correctly.

    When a stale symlink is present a local attacker could create the
    directory that the symlink is pointing to with his own credentials. Since
    KDE applications will attempt to create files with certain known names in
    this directory, an attacker can abuse this to overwrite arbitrary files
    with the privileges of the user.

    Solution:
    Source code patches have been made available which fix these
    vulnerabilities. Contact your OS vendor / binary package provider for
    information about how to obtain updated binary packages.

    Time line and credits:
    23/06/2004 SUSE Security Team alerted by Andrew Tuitt
    26/06/2004 Patches created
    27/07/2004 Vendors notified
    11/08/2004 Public advisory

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:bastian@kde.org> Waldo
    Bastian.
    The original article can be found at:
    <http://www.kde.org/info/security/advisory-20040811-1.txt>
    http://www.kde.org/info/security/advisory-20040811-1.txt

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[UNIX] DCOPServer Temporary Filename Vulnerability"

    Relevant Pages

    • Re: [kde-linux] Another KDE 4.x print problem?
      ... one on my file server has never offered to upgrade KDE to 4.x anything ... ... I think security support runs out for it toward the ... Only security-related bugs justify a new package ... on a Debian system using the KDE packages created by the Debian maintainers. ...
      (KDE)
    • [UNIX] Multiple Vulnerabilities in KDE (command shell)
      ... Beyond Security would like to welcome Tiscali World Online ... In some instances KDE fails to properly quote parameters of instructions ... The patches also provide better safe guards and check data from ... The vulnerabilities potentially enable local or remote attackers to ...
      (Securiteam)
    • Re: KDE3 on F9 and F10 HOWTO, now online
      ... WILL REINTRODUCE CRITICAL SECURITY VULNERABILITIES INTO YOUR SYSTEM AND MAY ... You should rebuild the KDE 3 packages against the current libraries ... "After a successful upgrade, you have to be careful when installing ...
      (Fedora)
    • [UNIX] kpdf Integer Overflows
      ... Get your security news from a reliable source. ... kpdf is a PDF viewer for the KDE environment. ... execute arbitrary code or cause a denial of service against the user ... These flaws, if exploited, can cause xpdf to hang ...
      (Securiteam)
    • Re: Linux-2.4.31-hf6
      ... This patch will bring your kernel to the same fix level as 2.4.32-rc1. ... to rebuild any version. ... I believe this is a security issues, ... the v2/3 nfs readlink accepts too long symlinks. ...
      (Linux-Kernel)