FreeBSD : haproxy -- buffer overflow (617959ce-a5f6-11e1-a284-0023ae8e59f0)

medium Nessus Plugin ID 59282

Synopsis

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

Description

HAProxy reports :

A flaw was reported in HAProxy where, due to a boundary error when copying data into the trash buffer, an external attacker could cause a buffer overflow. Exploiting this flaw could lead to the execution of arbitrary code, however it requires non-default settings for the global.tune.bufsize configuration option (must be set to a value greater than the default), and also that header rewriting is enabled (via, for example, the regrep or rsprep directives). This flaw is reported against 1.4.20, prior versions may also be affected.

Solution

Update the affected package.

See Also

http://www.haproxy.org/download/1.4/src/CHANGELOG

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

http://www.haproxy.org/news.html

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

Plugin Details

Severity: Medium

ID: 59282

File Name: freebsd_pkg_617959cea5f611e1a2840023ae8e59f0.nasl

Version: 1.9

Type: local

Published: 5/29/2012

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5.1

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

Vulnerability Information

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

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

Patch Publication Date: 5/24/2012

Vulnerability Publication Date: 5/21/2012

Reference Information

CVE: CVE-2012-2942

Secunia: 49261