Traefik: BasicAuth singleflight key collision allows authenticated identity spoofing
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.6.25, 3.7.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
Traefik is an open source HTTP reverse proxy and load balancer. From 3.6.11 until 3.6.25 and 3.7.10, Traefik's BasicAuth middleware in pkg/middlewares/auth/basic_auth.go deduplicates concurrent password checks with a singleflight key built from the delimiter-free concatenation of password and secret, allowing an attacker who has a valid credential and the stored hash to authenticate as an unconfigured username when headerField trusts the forwarded identity. This issue is fixed in 3.6.25 and 3.7.10.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- traefik traefik
From 3.6.11 · fixed in 3.6.25; From 3.7.0 · fixed in 3.7.10
- github.com/traefik/traefikGo
All versions
- github.com/traefik/traefik/v2Go
All versions
- github.com/traefik/traefik/v3Go
From 3.6.11 · fixed in 3.6.25; From 3.7.0 · fixed in 3.7.10
- github.com/traefik/traefik/v3Go
From 3.6.11 · fixed in 3.6.25
- github.com/traefik/traefik/v3Go
From 3.7.0 · fixed in 3.7.10