← All topics

#http-client

4 min read

SSRF in PHP HTTP Clients: Don't Fetch User-Supplied URLs

SSRF happens when your server fetches a URL an attacker chose. Don't pass request input to file_get_contents(), cURL or Laravel's Http::get(). Allow-list the hosts you intend to call, require HTTPS, reject URLs with credentials, and disable redirects.

Get new briefs by email

Short alerts when a PHP or WordPress vulnerability needs action.

Double opt-in via Buttondown; unsubscribe any time. See our privacy policy.