{
  "Name": "Emby MediaServer RemoteSearch SSRF (CVE-2020-26948)",
  "Description": "Emby Server before 4.5.0 allows SSRF via the Items/RemoteSearch/Image ImageURL parameter.\\n",
  "Product": "Emby-MediaServer",
  "Homepage": "https://www.emby.media",
  "DisclosureDate": "2021-06-13",
  "Author": "sharecast.net@gmail.com",
  "GobyQuery": "icon_hash=\"902188936\"||header=\"X-Emby-Authorization\"",
  "Level": "3",
  "Impact": "<p>As a result, hackers can use this vulnerability as a springboard to access or attack the internal system<br></p>",
  "Recommendation": "<p>The request port can only be web port, and only HTTP and HTTPS requests can be accessed.</p><p>Restrict the IP that can't access intranet to prevent attacking intranet.</p><p>Mask the returned details.</p>",
  "References": [
    "https://github.com/btnz-k/emby_ssrf"
  ],
  "HasExp": true,
  "ExpParams": [
    {
      "name": "cmd",
      "type": "input",
      "value": "http://127.0.0.1"
    }
  ],
  "ExpTips": {
    "Type": "",
    "Content": ""
  },
  "ScanSteps": [
    "AND",
    {
      "Request": {
        "method": "GET",
        "uri": "/test.php",
        "follow_redirect": true,
        "header": {},
        "data_type": "text",
        "data": ""
      },
      "ResponseTest": {
        "type": "group",
        "operation": "AND",
        "checks": [
          {
            "type": "item",
            "variable": "$code",
            "operation": "==",
            "value": "200",
            "bz": ""
          },
          {
            "type": "item",
            "variable": "$body",
            "operation": "contains",
            "value": "test",
            "bz": ""
          }
        ]
      },
      "SetVariable": []
    }
  ],
  "ExploitSteps": null,
  "Tags": [
    "SSRF"
  ],
  "CVEIDs": ["CVE-2020-26948"],
  "CVSSScore": "0.0",
  "AttackSurfaces": {
    "Application": null,
    "Support": null,
    "Service": null,
    "System": null,
    "Hardware": null
  }
}