ID CVE-2013-2175
Summary HAProxy 1.4 before 1.4.24 and 1.5 before 1.5-dev19, when configured to use hdr_ip or other "hdr_*" functions with a negative occurrence count, allows remote attackers to cause a denial of service (negative array index usage and crash) via an HTTP header with a certain number of values, related to the MAX_HDR_HISTORY variable.
References
Vulnerable Configurations
  • Debian GNU/Linux 6.0
    cpe:2.3:o:debian:debian_linux:6.0
  • Canonical Ubuntu Linux 12.10
    cpe:2.3:o:canonical:ubuntu_linux:12.10
  • Canonical Ubuntu Linux 12.04 LTS (Long-Term Support)
    cpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts
  • Canonical Ubuntu Linux 13.04
    cpe:2.3:o:canonical:ubuntu_linux:13.04
  • RedHat Enterprise Linux Load Balancer 6.4
    cpe:2.3:a:redhat:enterprise_linux_load_balancer:6.4
  • RedHat Enterprise Linux Load Balancer 6.0 (v6)
    cpe:2.3:a:redhat:enterprise_linux_load_balancer:6.0
  • HAProxy 1.4.0
    cpe:2.3:a:haproxy:haproxy:1.4.0
  • HAProxy 1.4.1
    cpe:2.3:a:haproxy:haproxy:1.4.1
  • HAProxy 1.4.2
    cpe:2.3:a:haproxy:haproxy:1.4.2
  • HAProxy 1.4.3
    cpe:2.3:a:haproxy:haproxy:1.4.3
  • HAProxy 1.4.4
    cpe:2.3:a:haproxy:haproxy:1.4.4
  • HAProxy 1.4.5
    cpe:2.3:a:haproxy:haproxy:1.4.5
  • HAProxy 1.4.6
    cpe:2.3:a:haproxy:haproxy:1.4.6
  • HAProxy 1.4.7
    cpe:2.3:a:haproxy:haproxy:1.4.7
  • HAProxy 1.4.8
    cpe:2.3:a:haproxy:haproxy:1.4.8
  • HAProxy 1.4.9
    cpe:2.3:a:haproxy:haproxy:1.4.9
  • HAProxy 1.4.10
    cpe:2.3:a:haproxy:haproxy:1.4.10
  • HAProxy 1.4.11
    cpe:2.3:a:haproxy:haproxy:1.4.11
  • HAProxy 1.4.12
    cpe:2.3:a:haproxy:haproxy:1.4.12
  • HAProxy 1.4.13
    cpe:2.3:a:haproxy:haproxy:1.4.13
  • HAProxy 1.4.14
    cpe:2.3:a:haproxy:haproxy:1.4.14
  • HAProxy 1.4.15
    cpe:2.3:a:haproxy:haproxy:1.4.15
  • HAProxy 1.4.16
    cpe:2.3:a:haproxy:haproxy:1.4.16
  • HAProxy 1.4.17
    cpe:2.3:a:haproxy:haproxy:1.4.17
  • HAProxy 1.4.18
    cpe:2.3:a:haproxy:haproxy:1.4.18
  • HAProxy 1.4.19
    cpe:2.3:a:haproxy:haproxy:1.4.19
  • HAProxy 1.4.21
    cpe:2.3:a:haproxy:haproxy:1.4.21
  • HAProxy 1.4.23
    cpe:2.3:a:haproxy:haproxy:1.4.23
  • HAProxy 1.4
    cpe:2.3:a:haproxy:haproxy:1.4
  • HAProxy 1.4.20
    cpe:2.3:a:haproxy:haproxy:1.4.20
  • HAProxy 1.4.22
    cpe:2.3:a:haproxy:haproxy:1.4.22
  • HAProxy 1.5-dev18
    cpe:2.3:a:haproxy:haproxy:1.5:dev18
  • HAProxy 1.5-dev16
    cpe:2.3:a:haproxy:haproxy:1.5:dev16
  • HAProxy 1.5-dev15
    cpe:2.3:a:haproxy:haproxy:1.5:dev15
  • HAProxy 1.5-dev14
    cpe:2.3:a:haproxy:haproxy:1.5:dev14
  • HAProxy 1.5-dev13
    cpe:2.3:a:haproxy:haproxy:1.5:dev13
  • HAProxy 1.5-dev12
    cpe:2.3:a:haproxy:haproxy:1.5:dev12
  • HAProxy 1.5-dev11
    cpe:2.3:a:haproxy:haproxy:1.5:dev11
  • HAProxy 1.5-dev10
    cpe:2.3:a:haproxy:haproxy:1.5:dev10
  • HAProxy 1.5-dev9
    cpe:2.3:a:haproxy:haproxy:1.5:dev9
  • HAProxy 1.5-dev8
    cpe:2.3:a:haproxy:haproxy:1.5:dev8
  • HAProxy 1.5-dev7
    cpe:2.3:a:haproxy:haproxy:1.5:dev7
  • HAProxy 1.5-dev6
    cpe:2.3:a:haproxy:haproxy:1.5:dev6
  • HAProxy 1.5-dev5
    cpe:2.3:a:haproxy:haproxy:1.5:dev5
  • HAProxy 1.5-dev4
    cpe:2.3:a:haproxy:haproxy:1.5:dev4
  • HAProxy 1.5-dev3
    cpe:2.3:a:haproxy:haproxy:1.5:dev3
  • HAProxy 1.5-dev2
    cpe:2.3:a:haproxy:haproxy:1.5:dev2
  • HAProxy 1.5-dev1
    cpe:2.3:a:haproxy:haproxy:1.5:dev1
  • HAProxy 1.5-dev0
    cpe:2.3:a:haproxy:haproxy:1.5:dev0
  • HAProxy HAProxy 1.5-dev
    cpe:2.3:a:haproxy:haproxy:1.5:dev
  • HAProxy 1.5-dev17
    cpe:2.3:a:haproxy:haproxy:1.5:dev17
CVSS
Base: 5.0 (as of 07-12-2016 - 17:19)
Impact:
Exploitability:
CWE CWE-284
CAPEC
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Signature Spoofing by Key Theft
    An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
nessus via4
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1889-1.NASL
    description David Torgerson discovered that HAProxy incorrectly parsed certain HTTP headers. A remote attacker could use this issue to cause HAProxy to stop responding, resulting in a denial of service. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 66962
    published 2013-06-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66962
    title Ubuntu 12.04 LTS / 12.10 / 13.04 : haproxy vulnerability (USN-1889-1)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2013-1204.NASL
    description An updated haproxy package that fixes one security issue is now available for Red Hat OpenShift Enterprise 1.2.2. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. HAProxy provides high availability, load balancing, and proxying for TCP and HTTP-based applications. A flaw was found in the way HAProxy handled requests when the proxy's configuration ('/etc/haproxy/haproxy.cfg') had certain rules that use the hdr_ip criterion. A remote attacker could use this flaw to crash HAProxy instances that use the affected configuration. (CVE-2013-2175) In Red Hat OpenShift Enterprise, the HAProxy cartridge is added to your application when you select to have your application scaled. Red Hat would like to thank HAProxy upstream for reporting this issue. Upstream acknowledges David Torgerson as the original reporter. Users of Red Hat OpenShift Enterprise 1.2.2 are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-12-04
    plugin id 119344
    published 2018-12-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=119344
    title RHEL 6 : haproxy (RHSA-2013:1204)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201307-01.NASL
    description The remote host is affected by the vulnerability described in GLSA-201307-01 (HAProxy: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in HAProxy. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could send a specially crafted request, possibly resulting in execution of arbitrary code with the privileges of the application or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 67252
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67252
    title GLSA-201307-01 : HAProxy: Multiple vulnerabilities
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-11212.NASL
    description Update to upstream stable release 1.4.24. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2016-05-09
    plugin id 67300
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67300
    title Fedora 18 : haproxy-1.4.24-1.fc18 (2013-11212)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2711.NASL
    description Multiple security issues have been found in HAProxy, a load-balancing reverse proxy : - CVE-2012-2942 Buffer overflow in the header capture code. - CVE-2013-1912 Buffer overflow in the HTTP keepalive code. - CVE-2013-2175 Denial of service in parsing HTTP headers.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 66936
    published 2013-06-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66936
    title Debian DSA-2711-1 : haproxy - several vulnerabilities
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-11234.NASL
    description Update to upstream stable release 1.4.24. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2016-05-09
    plugin id 67301
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67301
    title Fedora 17 : haproxy-1.4.24-1.fc17 (2013-11234)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-11135.NASL
    description Update to upstream stable release 1.4.24. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2016-05-09
    plugin id 67297
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67297
    title Fedora 19 : haproxy-1.4.24-1.fc19 (2013-11135)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2013-1120.NASL
    description An updated haproxy package that fixes one security issue is now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. HAProxy provides high availability, load balancing, and proxying for TCP and HTTP-based applications. A flaw was found in the way HAProxy handled requests when the proxy's configuration ('/etc/haproxy/haproxy.cfg') had certain rules that use the hdr_ip criterion. A remote attacker could use this flaw to crash HAProxy instances that use the affected configuration. (CVE-2013-2175) Red Hat would like to thank HAProxy upstream for reporting this issue. Upstream acknowledges David Torgerson as the original reporter. HAProxy is released as a Technology Preview in Red Hat Enterprise Linux 6. More information about Red Hat Technology Previews is available at https://access.redhat.com/support/offerings/techpreview/ All users of haproxy are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 69143
    published 2013-07-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69143
    title CentOS 6 : haproxy (CESA-2013:1120)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2013-215.NASL
    description HAProxy 1.4 before 1.4.24 and 1.5 before 1.5-dev19, when configured to use hdr_ip or other 'hdr_*' functions with a negative occurrence count, allows remote attackers to cause a denial of service (negative array index usage and crash) via an HTTP header with a certain number of values, related to the MAX_HDR_HISTORY variable.
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 70219
    published 2013-10-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70219
    title Amazon Linux AMI : haproxy (ALAS-2013-215)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2013-1120.NASL
    description An updated haproxy package that fixes one security issue is now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. HAProxy provides high availability, load balancing, and proxying for TCP and HTTP-based applications. A flaw was found in the way HAProxy handled requests when the proxy's configuration ('/etc/haproxy/haproxy.cfg') had certain rules that use the hdr_ip criterion. A remote attacker could use this flaw to crash HAProxy instances that use the affected configuration. (CVE-2013-2175) Red Hat would like to thank HAProxy upstream for reporting this issue. Upstream acknowledges David Torgerson as the original reporter. HAProxy is released as a Technology Preview in Red Hat Enterprise Linux 6. More information about Red Hat Technology Previews is available at https://access.redhat.com/support/offerings/techpreview/ All users of haproxy are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 69161
    published 2013-07-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69161
    title RHEL 6 : haproxy (RHSA-2013:1120)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20130730_HAPROXY_ON_SL6_X.NASL
    description A flaw was found in the way HAProxy handled requests when the proxy's configuration ('/etc/haproxy/haproxy.cfg') had certain rules that use the hdr_ip criterion. A remote attacker could use this flaw to crash HAProxy instances that use the affected configuration. (CVE-2013-2175)
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 69166
    published 2013-07-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69166
    title Scientific Linux Security Update : haproxy on SL6.x i386/x86_64
redhat via4
advisories
  • bugzilla
    id 974259
    title CVE-2013-2175 haproxy: http_get_hdr()/get_ip_from_hdr2() MAX_HDR_HISTORY handling denial of service
    oval
    AND
    • comment haproxy is earlier than 0:1.4.22-5.el6_4
      oval oval:com.redhat.rhsa:tst:20131120005
    • comment haproxy is signed with Red Hat redhatrelease2 key
      oval oval:com.redhat.rhsa:tst:20130868006
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhba:tst:20111656001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhba:tst:20111656002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhba:tst:20111656003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhba:tst:20111656004
    rhsa
    id RHSA-2013:1120
    released 2013-07-30
    severity Moderate
    title RHSA-2013:1120: haproxy security update (Moderate)
  • rhsa
    id RHSA-2013:1204
rpms haproxy-0:1.4.22-5.el6_4
refmap via4
debian DSA-2711
misc https://bugzilla.redhat.com/show_bug.cgi?id=974259
mlist [haproxy] 20130617 [ANNOUNCE] haproxy-1.5-dev19 and 1.4.24 (security update)
secunia 54344
ubuntu USN-1889-1
Last major update 07-12-2016 - 18:43
Published 19-08-2013 - 09:07
Back to Top