Network UPS Tools < 2.6.4 addchar() Function Buffer Overflow

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


Synopsis :

The remote application is susceptible to a buffer overflow attack.

Description :

According to its self-reported version number, the installation of
Network UPS Tools is affected by a buffer overflow caused by an error
in the 'addchar()' function. An unauthenticated, remote attacker
sending a specially crafted request to the server may trigger an
application crash or the execution of arbitrary code.

See also :

http://trac.networkupstools.org/projects/nut/changeset/3633
http://alioth.debian.org/tracker/?func=detail&aid=313636
http://networkupstools.org/docs/user-manual.chunked/apis01.html
http://www.networkupstools.org/source/2.6/new-2.6.4.txt

Solution :

Upgrade to Network UPS Tools 2.6.4 or later.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 7.4
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Misc.

Nessus Plugin ID: 59660 ()

Bugtraq ID: 53743

CVE ID: CVE-2012-2944