skip to content
Back to GitHub.com
Home Bounties Research Advisories Get Involved Events
September 14, 2020

GHSL-2020-140: Open redirect in Traefik - CVE-2020-15129

GitHub Security Lab

Summary

There exists a potential open redirect vulnerability in Traefik’s handling of the X-Forwarded-Prefix header. Active Exploitation of this issue is unlikely as it would require active header injection, however the Traefik team may want to address this issue nonetheless to prevent abuse in e.g. cache poisoning scenarios.

Product

Traefik

Tested Version

v2.3.0-rc1

Details

The Traefik API dashboard component doesn’t validate that the value of the header X-Forwarded-Prefix is a site relative path and will redirect to any header provided URI.

e.g.

$ curl --header 'Host:docker.localhost' --header 'X-Forwarded-Prefix:https://foo.nl' 'http://localhost:8081'
<a href="https://foo.nl/dashboard/">Found</a>.`

Impact

A successful exploitation of an open redirect can be used to entice victims to disclose sensitive information.

Resources

CVE

Coordinated Disclosure Timeline

Resources

Credit

This issue was found by the GitHub Application Security Team and reported on behalf of the GHAS by the GitHub Security Lab Team.

Contact

You can contact the GHSL team at securitylab@github.com, please include GHSL-2020-140 in any communication regarding this issue.