FreeBSD : newspost -- server response buffer overflow vulnerability (7f13607b-6948-11d9-8937-00065be4b5b6)

high Nessus Plugin ID 19001

Synopsis

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

Description

The newspost program uses a function named socket_getline to read server responses from the network socket. Unfortunately this function does not check the length of the buffer in which the read data is stored and only stops reading when a newline character is found.

A malicious NNTP server could use this bug to cause a buffer overflow by sending an overly long response. Such an overflow allows arbitrary code to be executed, with the privileges of the newspost process, on the affected systems.

Solution

Update the affected package.

See Also

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

http://www.nessus.org/u?b1d5226d

Plugin Details

Severity: High

ID: 19001

File Name: freebsd_pkg_7f13607b694811d9893700065be4b5b6.nasl

Version: 1.15

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.1

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:newspost, 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/14/2005

Reference Information

CVE: CVE-2005-0101