Server-side Request Forgery (SSRF)
Basic SSRF against the local server
- Click on a product
- Request the stock count of the product
- Change the url of the
stockApi parameter to point to localhost/admin
- View the rendered page and the source to find our that we need to set the
stockApi url to localhost/admin/delete?username=carlos
Basic SSRF against another back-end system
- Click on a product
- Request the stock count of the product
- Send request to Intruder
- Change the url of the
stockApi parameter to point to http://192.168.0.$1$/admin
- set
$1$ to a number between 1 and 255.
- look for
200 status answer
- delete carlos