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

medium Nessus Plugin ID 14540

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.

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'

See Also

http://www.nessus.org/u?3206be45

https://security.gentoo.org/glsa/200407-07

Plugin Details

Severity: Medium

ID: 14540

File Name: gentoo_GLSA-200407-07.nasl

Version: 1.16

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

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: 7/8/2004

Vulnerability Publication Date: 6/28/2004

Reference Information

CVE: CVE-2004-0647

GLSA: 200407-07