PT-2023-30312 · Traefik+2 · Traefik+2

Benasin

·

Publicado

2023-12-04

·

Atualizado

2024-09-09

·

CVE-2023-47106

CVSS v3.1

4.8

Média

VetorAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Traefik versions prior to 2.10.6 Traefik versions prior to 3.0.0-beta5
Description The issue arises when a request is sent to Traefik with a URL fragment. Traefik automatically URL encodes and forwards the fragment to the backend server, violating RFC 7230. This can be used to bypass frontend proxy URI-based access control restrictions when combined with another frontend proxy like Nginx. For example, an attacker can request /#/../admin to bypass Nginx configuration restrictions. If the backend server follows the RFC and ignores any characters after the fragment, it won't be vulnerable. However, if Nginx is chained with another reverse proxy like Traefik, which automatically URL encodes the character #, the URL will become /%23/../admin, allowing the attacker to completely bypass access restrictions.
Recommendations For Traefik versions prior to 2.10.6, upgrade to version 2.10.6 or later. For Traefik versions prior to 3.0.0-beta5, upgrade to version 3.0.0-beta5 or later. As a temporary workaround, consider restricting access to the vulnerable /#/ endpoint until a patch is available. Avoid using URL fragments in requests to Traefik until the issue is resolved.

Exploit

Correção

RCE

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2024-12000
ALT-PU-2024-1254
ALT-PU-2024-1883
ALT-PU-2024-6626
CVE-2023-47106
ECHO-3CCF-9FB8-6EBF
GHSA-FVHJ-4QFH-Q2HM
GO-2023-2376
OPENSUSE-SU-2024:13506-1
OPENSUSE-SU-2024:14076-1

Produtos afetados

Alt Linux
Nginx
Traefik