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

Medium Nessus Plugin ID 14540


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


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.


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'

See Also

Plugin Details

Severity: Medium

ID: 14540

File Name: gentoo_GLSA-200407-07.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2004/08/30

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:shorewall, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2004/07/08

Vulnerability Publication Date: 2004/06/28

Reference Information

CVE: CVE-2004-0647

OSVDB: 7593

GLSA: 200407-07