The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[ GLSA 200410-10 ] gettext: Insecure temporary file handling


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: Wed, 13 Oct 2004 08:12:28 -0400
From: Luke Macken <[email protected]>
To: [email protected]
Subject: [ GLSA 200410-10 ] gettext: Insecure temporary file handling


--=-iQaO7rQuI8aAteiyIlCB
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200410-10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Low
     Title: gettext: Insecure temporary file handling
      Date: October 10, 2004
      Bugs: #66355
        ID: 200410-10

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

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

The gettext utility is vulnerable to symlink attacks, potentially
allowing a local user to overwrite or change permissions on arbitrary
files with the rights of the user running gettext, which could be the
root user.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

gettext is a set of utilities for the GNU Translation Project which
provides a set of tools and documentation to help produce multi-lingual
messages in programs.

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

    -------------------------------------------------------------------
     Package            /   Vulnerable   /                  Unaffected
    -------------------------------------------------------------------
  1  sys-devel/gettext      < 0.12.1-r2                   >=3D 0.12.1-r2

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

gettext insecurely creates temporary files in world-writeable
directories with predictable names.

Impact
=3D=3D=3D=3D=3D=3D

A local attacker could create symbolic links in the temporary files
directory, pointing to a valid file somewhere on the filesystem. When
gettext is called, this would result in file access with the rights of
the user running the utility, which could be the root user.

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

There is no known workaround at this time.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All gettext users should upgrade to the latest version:

    # emerge sync

    # emerge -pv ">=3Dsys-devel/gettext-0.12.1-r2"
    # emerge ">=3Dsys-devel/gettext-0.12.1.-r2"

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  [ 1 ] BugTraq Advisory
        http://www.securityfocus.com/advisories/7263

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

  http://security.gentoo.org/glsa/glsa-200410-10.xml

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

License
=3D=3D=3D=3D=3D=3D=3D

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

--=-iQaO7rQuI8aAteiyIlCB
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBBbRusRsm3eDkOu7kRAs3JAJ0e/R9Vz3YimUg6TpT5rtnL6RVTHACfVdW/
iQ9fPdYHy5jDPzwWiMnxDwE=
=t/4y
-----END PGP SIGNATURE-----

--=-iQaO7rQuI8aAteiyIlCB--

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру