GLSA-200407-07 : Shorewall : Insecure temp file handling

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200407-07
(Shorewall : Insecure temp file handling)

Shorewall uses temporary files and directories in an insecure manner. A
local user could create symbolic links at specific locations,
eventually overwriting other files on the filesystem with the rights of
the shorewall process.

Impact :

An attacker could exploit this vulnerability to overwrite arbitrary
system files with root privileges, resulting in Denial of Service or
further exploitation.

Workaround :

There is no known workaround at this time. All users should upgrade to
the latest available version of Shorewall.

See also :

http://www.nessus.org/u?3206be45
http://www.gentoo.org/security/en/glsa/glsa-200407-07.xml

Solution :

All users should upgrade to the latest available version of Shorewall,
as follows:
# emerge sync
# emerge -pv '>=net-firewall/shorewall-1.4.10f'
# emerge '>=net-firewall/shorewall-1.4.10f'

Risk factor :

Medium / CVSS Base Score : 4.6
(CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14540 (gentoo_GLSA-200407-07.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0647