FreeBSD : newsgrab -- insecure file and directory creation (cd7e260a-6bff-11d9-a5df-00065be4b5b6)

high Nessus Plugin ID 19126

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

The newsgrab script uses insecure permissions during the creation of the local output directory and downloaded files.

After a file is created, permissions on it are set using the mode value of the newsgroup posting. This can potentially be a problem when the mode is not restrictive enough. In addition, the output directory is created with world-writable permissions allowing other users to drop symlinks or other files at that location.

Solution

Update the affected package.

See Also

https://people.freebsd.org/~niels/issues/newsgrab-20050114.txt

http://www.nessus.org/u?114e802a

http://www.nessus.org/u?55f5e2f3

Plugin Details

Severity: High

ID: 19126

File Name: freebsd_pkg_cd7e260a6bff11d9a5df00065be4b5b6.nasl

Version: 1.18

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:newsgrab, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2/1/2005

Vulnerability Publication Date: 1/18/2005

Reference Information

CVE: CVE-2005-0154