Forwarded Without Question: How Web Frameworks Overtrust the Forwarded Header
How untrusted Forwarded headers enable client IP and hostname spoofing in Rails, Spring, Jetty and other frameworks, and how to secure reverse proxy configurations.
Lauri Koskela