ssrf
Server Side Request Forgery
Last updated
Was this helpful?
Server Side Request Forgery
Last updated
Was this helpful?
Vulnerability that allows a malicious user to cause the webserver to make an additional or edited HTTP request to the resource of the attacker's choosing.
Actual Request:http://IP/cart?item=http://sub.domain.com/api/cart/item?id=123
Attack: http://IP/cart?item=http://sub.domain.com/api/user
Actual Request:http://IP/cart?item=/item?id=123
Attack: http://IP/cart?item=../../user
Actual Request:http://kashz.com/file?server=api&id=123
> http://api.kashz.com/file?id=123
Attack: http://kashz.com/file?server=dev.kashz.com/api/user&x=&id=123
This forces the server to make request like http://dev.kashz.com/api/user&x=.kashz.com/file&id=123
Use
Allow list
Deny list