GLSA-200804-11 : policyd-weight: Insecure temporary file creation

Low Nessus Plugin ID 31958


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


The remote host is affected by the vulnerability described in GLSA-200804-11 (policyd-weight: Insecure temporary file creation)

Chris Howells reported that policyd-weight creates and uses the '/tmp/.policyd-weight/' directory in an insecure manner.
Impact :

A local attacker could exploit this vulnerability to delete arbitrary files or change the ownership to the 'polw' user via symlink attacks.
Workaround :

Set '$LOCKPATH = '/var/run/policyd-weight/'' manually in '/etc/policyd-weight.conf'.


All policyd-weight users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=mail-filter/policyd-weight-' This version changes the default path for sockets to '/var/run/policyd-weight', which is only writable by a privileged user.
Users need to restart policyd-weight immediately after the upgrade due to this change.

See Also

Plugin Details

Severity: Low

ID: 31958

File Name: gentoo_GLSA-200804-11.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2008/04/17

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Low


Base Score: 3.3

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:policyd-weight, cpe:/o:gentoo:linux

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

Patch Publication Date: 2008/04/11

Reference Information

CVE: CVE-2008-1569

OSVDB: 43888

GLSA: 200804-11

CWE: 59