CVE-2023-45539 Information disclosure in n/a

High 8.2 Published Updated

Remote attackers can bypass path_end rules by using hash symbols in URIs, potentially exposing sensitive files or bypassing security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-45539?

CVE-2023-45539 is a high-severity vulnerability in n/a, published on 28 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

HAProxy before 2.8.2 accepts # as part of the URI component, which might allow remote attackers to obtain sensitive information or have unspecified other impact upon misinterpretation of a path_end rule, such as routing index.html#.png to a static server.

Weakness: CWE-116

Which versions are affected by CVE-2023-45539?

1 open source package ship an affected version, including haproxy. It affects 1 product.

PackageAffectedFixed in
haproxy BitnamiAll versions2.8.2
Linux distribution packages (39)
haproxy AlmaLinux:8All versions1.8.27-5.el8_10.1
haproxy Red Hat:enterprise_linux:8::appstreamAll versions0:1.8.27-5.el8_10.1
haproxy-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.8.27-5.el8_10.1
haproxy-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.8.27-5.el8_10.1
haproxy Red Hat:rhel_aus:8.2::appstreamAll versions0:1.8.23-3.el8_2.1
haproxy-debuginfo Red Hat:rhel_aus:8.2::appstreamAll versions0:1.8.23-3.el8_2.1
haproxy-debugsource Red Hat:rhel_aus:8.2::appstreamAll versions0:1.8.23-3.el8_2.1
haproxy Red Hat:rhel_aus:8.4::appstreamAll versions0:1.8.27-2.el8_4.1
haproxy-debuginfo Red Hat:rhel_aus:8.4::appstreamAll versions0:1.8.27-2.el8_4.1
haproxy-debugsource Red Hat:rhel_aus:8.4::appstreamAll versions0:1.8.27-2.el8_4.1
haproxy Red Hat:rhel_aus:8.6::appstreamAll versions0:1.8.27-4.el8_6.1
haproxy-debuginfo Red Hat:rhel_aus:8.6::appstreamAll versions0:1.8.27-4.el8_6.1
haproxy-debugsource Red Hat:rhel_aus:8.6::appstreamAll versions0:1.8.27-4.el8_6.1
haproxy Red Hat:rhel_e4s:8.4::appstreamAll versions0:1.8.27-2.el8_4.1
haproxy-debuginfo Red Hat:rhel_e4s:8.4::appstreamAll versions0:1.8.27-2.el8_4.1
haproxy-debugsource Red Hat:rhel_e4s:8.4::appstreamAll versions0:1.8.27-2.el8_4.1
haproxy Red Hat:rhel_e4s:8.6::appstreamAll versions0:1.8.27-4.el8_6.1
haproxy-debuginfo Red Hat:rhel_e4s:8.6::appstreamAll versions0:1.8.27-4.el8_6.1
haproxy-debugsource Red Hat:rhel_e4s:8.6::appstreamAll versions0:1.8.27-4.el8_6.1
haproxy Red Hat:rhel_eus:8.8::appstreamAll versions0:1.8.27-5.el8_8.1
haproxy-debuginfo Red Hat:rhel_eus:8.8::appstreamAll versions0:1.8.27-5.el8_8.1
haproxy-debugsource Red Hat:rhel_eus:8.8::appstreamAll versions0:1.8.27-5.el8_8.1
haproxy Red Hat:rhel_tus:8.4::appstreamAll versions0:1.8.27-2.el8_4.1
haproxy-debuginfo Red Hat:rhel_tus:8.4::appstreamAll versions0:1.8.27-2.el8_4.1
haproxy-debugsource Red Hat:rhel_tus:8.4::appstreamAll versions0:1.8.27-2.el8_4.1
haproxy Red Hat:rhel_tus:8.6::appstreamAll versions0:1.8.27-4.el8_6.1
haproxy-debuginfo Red Hat:rhel_tus:8.6::appstreamAll versions0:1.8.27-4.el8_6.1
haproxy-debugsource Red Hat:rhel_tus:8.6::appstreamAll versions0:1.8.27-4.el8_6.1
haproxy Rocky Linux:8All versions0:1.8.27-5.el8_10.1
haproxy SUSE:Linux Enterprise High Availability Extension 15 SP2All versions2.0.31-150200.11.26.1
haproxy SUSE:Linux Enterprise High Availability Extension 15 SP3All versions2.0.31-150200.11.26.1
haproxy SUSE:Linux Enterprise High Availability Extension 15 SP4All versions2.4.22+git0.f8e3218e2-150400.3.19.1
haproxy SUSE:Linux Enterprise High Availability Extension 15 SP5All versions2.4.22+git0.f8e3218e2-150400.3.19.1
haproxy SUSE:Linux Enterprise Micro 5.3All versions2.4.22+git0.f8e3218e2-150400.3.19.1
haproxy SUSE:Linux Enterprise Micro 5.4All versions2.4.22+git0.f8e3218e2-150400.3.19.1
haproxy SUSE:Linux Enterprise Micro 5.5All versions2.4.22+git0.f8e3218e2-150400.3.19.1
haproxy SUSE:Linux Enterprise Micro 5.5All versions2.4.22+git0.f8e3218e2-150400.3.19.1
haproxy openSUSE:Leap 15.4All versions2.4.22+git0.f8e3218e2-150400.3.19.1
haproxy openSUSE:Leap 15.5All versions2.4.22+git0.f8e3218e2-150400.3.19.1

Products include Haproxy Haproxy.

How do I fix CVE-2023-45539?

Upgrade haproxy to 2.8.2 or later.

Is CVE-2023-45539 being exploited?

There is no known exploitation of CVE-2023-45539 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as ALSA-2024:8849, AZL-32061, BIT-haproxy-2023-45539, CLSA-2023-1703008559, CLSA-2023-1703181305, CLSA-2023-1703181677 and 24 more.

Is CVE-2023-45539 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free