<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200502-01 ] FireHOL: Insecure temporary file creation



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200502-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: FireHOL: Insecure temporary file creation
      Date: February 01, 2005
      Bugs: #79330
        ID: 200502-01

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

Synopsis
========

FireHOL is vulnerable to symlink attacks, potentially allowing a local
user to overwrite arbitrary files.

Background
==========

FireHOL is an iptables rules generator.

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

    -------------------------------------------------------------------
     Package               /  Vulnerable  /                 Unaffected
    -------------------------------------------------------------------
  1  net-firewall/firehol       < 1.224                       >= 1.224

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

FireHOL insecurely creates temporary files with predictable names.

Impact
======

A local attacker could create malicious symbolic links to arbitrary
system files. When FireHOL is executed, this could lead to these files
being overwritten with the rights of the user launching FireHOL,
usually the root user.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All FireHOL users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-firewall/firehol-1.224"

References
==========

  [ 1 ] FireHOL CVS log
        http://cvs.sourceforge.net/viewcvs.py/firehol/firehol/firehol.sh

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

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

  http://security.gentoo.org/glsa/glsa-200502-01.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@xxxxxxxxxx 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

Attachment: pgpk9sXmEkaOD.pgp
Description: PGP signature