GLSA-201209-19 : NUT: Arbitrary code execution

high Nessus Plugin ID 62361

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-201209-19 (NUT: Arbitrary code execution)

An error in the addchar() function in parseconf.c may cause a buffer overflow.
Impact :

A remote attacker could send a specially crafted string to upsd, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All NUT users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-power/nut-2.6.3'

See Also

https://security.gentoo.org/glsa/201209-19

Plugin Details

Severity: High

ID: 62361

File Name: gentoo_GLSA-201209-19.nasl

Version: 1.8

Type: local

Published: 9/28/2012

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/27/2012

Reference Information

CVE: CVE-2012-2944

BID: 53743

GLSA: 201209-19