Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Request Smuggling in Netty - 4.1.43.Final #1

Open
jdordonezn opened this issue Jan 26, 2020 · 1 comment
Open

HTTP Request Smuggling in Netty - 4.1.43.Final #1

jdordonezn opened this issue Jan 26, 2020 · 1 comment

Comments

@jdordonezn
Copy link
Owner

jdordonezn commented Jan 26, 2020

Netty 4.1.43.Final allows HTTP Request Smuggling because it mishandles Transfer-Encoding whitespace (such as a [space]Transfer-Encoding:chunked line) and a later Content-Length header.

Steps to reproduce the vulnerability

  1. The hacker send a request with both "[space]Transfer-Encoding: chunked" header and "Content-Length" header.
  2. The legitimate user send a normal request
  3. The ELB (Elastic load balancer) send first the request of hacker to Netty and consecutively thr normal request.
  4. Netty decodes request by incorrect TE ([space]Transfer-Encoding: chunked") sending to hacker the response that corresponds until null byte and send to legitimate user the response of chunked request from hacker.
  • Attack Payload

1

  • Normal request

2

  • Processing of netty

3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants