Traefik's Client Plugin is Vulnerable to Path Traversal, Arbitrary File Overwrites and Remote Code Execution
traefik
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/traefik/traefik/v2 Go |
|
|
| github.com/traefik/traefik/v3 Go |
|
|
traefik
| Product | Affected | Fixed in |
|---|---|---|
| github.com/traefik/traefik/v2 Go |
|
|
| github.com/traefik/traefik/v3 Go |
|
|
| github.com/traefik/traefik Go |
| No fix yet |
Traefik is an HTTP reverse proxy and load balancer. In versions 2.11.27 and below, 3.0.0 through 3.4.4 and 3.5.0-rc1, a path traversal vulnerability was discovered in WASM Traefik’s plugin installation mechanism. By supplying a maliciously crafted ZIP archive containing file paths with ../ sequences, an attacker can overwrite arbitrary files on the system outside of the intended plugin directory. This can lead to remote code execution (RCE), privilege escalation, persistence, or denial of service. This is fixed in versions 2.11.28, 3.4.5 and 3.5.0.
From the CVE record · GitHub_M
Traefik’s WASM plugin installation mechanism is vulnerable to path traversal. An attacker who supplies a crafted ZIP archive for plugin installation can overwrite files outside the plugin directory, potentially causing remote code execution, privilege escalation, persistence, or denial of service. The input does not specify whether authentication or user interaction is required.
Engineers using Go package github.com/traefik/traefik/v2 before 2.11.28, github.com/traefik/traefik/v3 before 3.4.5 or from 3.5.0-rc1 to before 3.5.0, or any version of github.com/traefik/traefik should check their deployments.