PHP curl_exec() url可被用户控制导致的漏洞
通常情况下curl被用来访问远程链接,并取回数据。但是curl支持很多协议。下面是一段php手册中关于curl的描述: PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with PHP’s ftp extension), HTTP form based upload, proxies, cookies, and user+password authentication. ...