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


[ GLSA 200703-20 ] LSAT: Insecure temporary file creation


<< Previous INDEX Search src / Print Next >>
Date: Sun, 18 Mar 2007 22:52:37 +0100
From: Raphael Marichez <falco@gentoo.org.>
To: gentoo-announce@gentoo.org
Subject: [ GLSA 200703-20 ] LSAT: Insecure temporary file creation
Message-ID: <20070318215237.GK12255@falco.falcal.net.>
Mail-Followup-To: gentoo-announce@gentoo.org,
        bugtraq@securityfocus.com, full-disclosure@lists.grok.org.uk,
        security-alerts@linuxsecurity.com
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="fwqqG+mf3f7vyBCB"
Content-Disposition: inline
X-Web: http://falco.bz/
X-GPG-fingerprint: 04EB 153A 6B28 3E80 87A9  9B4F A77C 4BDE 021C 5BD2
X-GPG-Key: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x021C5BD2
X-GPG-Subkey: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x0114FC45
Organization: Gentoo Linux Security Team
User-Agent: mutt-ng/devel-r804 (Linux)
X-Virus-Scanned: antivirus-gw at tyumen.ru


--fwqqG+mf3f7vyBCB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200703-20
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


  Severity: Low
     Title: LSAT: Insecure temporary file creation
      Date: March 18, 2007
      Bugs: #159542
        ID: 200703-20

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


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

LSAT insecurely creates temporary files which can lead to symlink
attacks allowing a local user to overwrite arbitrary files.

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

The Linux Security Auditing Tool (LSAT) is a post install security
auditor which checks many system configurations and local network
settings on the system for common security or configuration errors and
for packages that are not needed.

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

    -------------------------------------------------------------------
     Package         /  Vulnerable  /                       Unaffected
    -------------------------------------------------------------------
  1  app-admin/lsat      <=3D 0.9.2                          Vulnerable!
    -------------------------------------------------------------------
     NOTE: Certain packages are still vulnerable. Users should migrate
           to another package if one is available or wait for the
           existing packages to be marked stable by their
           architecture maintainers.


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

LSAT insecurely writes in /tmp with a predictable filename.

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
the LSAT script is executed, this would result in the file being
overwritten with the rights of the user running the software, 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

Since LSAT is not actively maintained anymore, this package has been
masked. All LSAT users are advised to unmerge it.

   =20
    # emerge --ask --unmerge "app-admin/lsat"

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

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

Copyright 2007 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

--fwqqG+mf3f7vyBCB
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQEVAwUBRf20pTvRww8BFPxFAQJwYQf/UyoHazX6osfoAb4KYAJvfc15bR0x08ZL
lMYG/AaH7HBmfsuh4nD5Xk70nCyhUfokjIUJdrCestDSoZTMex9jXVQvkfsbVSDT
VWOHZRiVo/FX2ivKiY+HeZ7EdspBa51dvYmPGnLkGrlqDcIb6tJijMfr0lVqEuHR
LObSpjC7e51SbnRaT1mlrPPHWhGE9OR6nwpDJUDKt60KO6+wFOJ/MFq6c3RF6BT/
sZZxQyhGE8ts3S1+LjgZIFanF7y4J+MWjwfC58ocs0NMGDmhLytxut9WmsANEMLl
tvJcihDQZyq+2T2o/5DyvBdwvF+9qI3bkdGe3lcCXBtmwxvqWOtsag==
=tHEF
-----END PGP SIGNATURE-----

--fwqqG+mf3f7vyBCB--


<< Previous INDEX Search src / Print Next >>



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

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