Gentoo: 201201-11: Firewall Builder: Privilege escalation
Posted by Benjamin D. Thomas   
Gentoo Insecure temporary file usage in Firewall Builder could allow attackersto overwrite arbitrary files.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201201-11
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: Firewall Builder: Privilege escalation
     Date: January 23, 2012
     Bugs: #235809, #285861
       ID: 201201-11

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

Synopsis
========

Insecure temporary file usage in Firewall Builder could allow attackers
to overwrite arbitrary files.

Background
==========

Firewall Builder is a GUI for easy management of multiple firewall
platforms.

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

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  net-firewall/fwbuilder       < 3.0.7                    >= 3.0.7

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

Two vulnerabilities in Firewall Builder allow the iptables and
fwb_install scripts to use temporary files insecurely.

Impact
======

A local attacker could possibly overwrite arbitrary files with the
privileges of the user running Firewall Builder.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Firewall Builder users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-firewall/fwbuilder-3.0.7"

NOTE: This is a legacy GLSA. Updates for all affected architectures are
available since March 09, 2010. It is likely that your system is
already no longer affected by this issue.

References
==========

[ 1 ] CVE-2008-4956
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-4956
[ 2 ] CVE-2009-4664
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-4664

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

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

 http://security.gentoo.org/glsa/glsa-201201-11.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
https://bugs.gentoo.org.

License
=======

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