Vulnerability · Published Dec 4, 2023 · Assigned by GitHub_M

CVE-2023-47106Incorrect processing of fragment in the URL leads to Authorization Bypass in Traefik

Medium 4.8

In plain English

A medium-severity improper input validation in traefik from traefik. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.6%top 49.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

Traefik is an open source HTTP reverse proxy and load balancer. When a request is sent to Traefik with a URL fragment, Traefik automatically URL encodes and forwards the fragment to the backend server. This violates RFC 7230 because in the origin-form the URL should only contain the absolute path and the query. When this is combined with another frontend proxy like Nginx, it can be used to bypass frontend proxy URI-based access control restrictions. This vulnerability has been addressed in versions 2.10.6 and 3.0.0-beta5. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/traefik/traefikno fix listedGO-2023-2376
Gogithub.com/traefik/traefik/v22.10.6GHSA-fvhj-4qfh-q2hm
Gogithub.com/traefik/traefik/v22.10.6GO-2023-2376
Gogithub.com/traefik/traefik/v33.0.0-beta5GHSA-fvhj-4qfh-q2hm
Gogithub.com/traefik/traefik/v33.0.0-beta5GO-2023-2376

Affected products (as reported)

VendorProductVersions
traefik traefik < 2.10.6>= 3.0.0-beta1, < 3.0.0-beta5

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

References