Executive Summary

Summary
Title HAProxy: Arbitrary code execution
Informations
Name GLSA-201301-02 First vendor Publication 2013-01-08
Vendor Gentoo Last vendor Modification 2013-01-08
Severity (Vendor) High Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:H/Au:N/C:P/I:P/A:P)
Cvss Base Score 5.1 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity High
Cvss Expoit Score 4.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A buffer overflow in HAProxy may allow execution of arbitrary code.

Background

HAProxy is a TCP/HTTP reverse proxy for high availability environments.

Description

A boundary error in HAProxy could cause a buffer overflow when header rewriting is enabled and the configuration sets global.tune.bufsize to a value greater than the default (16384 bytes).

Impact

A remote attacker could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All HAProxy users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-proxy/haproxy-1.4.21"

References

[ 1 ] CVE-2012-2942 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2942

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-201301-02.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-201301-02.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 24

OpenVAS Exploits

Date Description
2012-10-23 Name : Fedora Update for haproxy FEDORA-2012-16033
File : nvt/gb_fedora_2012_16033_haproxy_fc17.nasl
2012-10-23 Name : Fedora Update for haproxy FEDORA-2012-16056
File : nvt/gb_fedora_2012_16056_haproxy_fc16.nasl

Nessus® Vulnerability Scanner

Date Description
2013-06-20 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2711.nasl - Type : ACT_GATHER_INFO
2013-04-16 Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-1800-1.nasl - Type : ACT_GATHER_INFO
2013-01-09 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201301-02.nasl - Type : ACT_GATHER_INFO
2012-10-23 Name : The remote Fedora host is missing a security update.
File : fedora_2012-16033.nasl - Type : ACT_GATHER_INFO
2012-10-23 Name : The remote Fedora host is missing a security update.
File : fedora_2012-16056.nasl - Type : ACT_GATHER_INFO
2012-10-16 Name : The remote Fedora host is missing a security update.
File : fedora_2012-16023.nasl - Type : ACT_GATHER_INFO
2012-06-29 Name : The remote host is running a load balancer with a buffer overflow vulnerability.
File : haproxy_trash_buffer_overflow.nasl - Type : ACT_GATHER_INFO
2012-05-29 Name : The remote FreeBSD host is missing a security-related update.
File : freebsd_pkg_617959cea5f611e1a2840023ae8e59f0.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
Date Informations
2014-02-17 11:37:39
  • Multiple Updates
2013-01-09 05:18:01
  • First insertion