Lucene search
+L

Plex Media Server Authentication Bypass Vulnerability (Aug 2018) - Active Check

🗓️ 21 Nov 2019 00:00:00Reported by Copyright (C) 2019 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 236 Views

Plex Media Server Authentication Bypass Vulnerability (Aug 2018). Allows unauthenticated access to Plex server

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2018-21031
23 Feb 202414:41
circl
cve
CVE
CVE-2018-21031
18 Nov 201916:30
cve
cvelist
Cvelist
CVE-2018-21031
18 Nov 201916:30
cvelist
euvd
EUVD
EUVD-2018-13552
7 Oct 202500:30
euvd
nvd
NVD
CVE-2018-21031
18 Nov 201917:15
nvd
osv
OSV
CVE-2018-21031
18 Nov 201917:15
osv
prion
Prion
Information disclosure
18 Nov 201917:15
prion
redhatcve
RedhatCVE
CVE-2018-21031
22 May 202513:25
redhatcve
# SPDX-FileCopyrightText: 2019 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:plex:plex_media_server";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.143159");
  script_version("2025-09-16T05:38:45+0000");
  script_tag(name:"last_modification", value:"2025-09-16 05:38:45 +0000 (Tue, 16 Sep 2025)");
  script_tag(name:"creation_date", value:"2019-11-21 05:10:49 +0000 (Thu, 21 Nov 2019)");
  script_tag(name:"cvss_base", value:"4.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:N/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-12-19 15:15:00 +0000 (Thu, 19 Dec 2019)");

  script_cve_id("CVE-2018-21031");

  script_tag(name:"qod_type", value:"remote_vul");

  script_tag(name:"solution_type", value:"Workaround");

  script_name("Plex Media Server Authentication Bypass Vulnerability (Aug 2018) - Active Check");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2019 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_plex_media_server_http_detect.nasl", "gb_tautulli_http_detect.nasl");
  script_require_ports("Services/www", 32400);
  script_mandatory_keys("plex_media_server/http/detected", "tautulli/plex_token");

  script_tag(name:"summary", value:"Plex Media Server is prone to an authentication bypass
  vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");

  script_tag(name:"insight", value:"The flaw exists because the X-Plex-Token is mishandled and can
  be retrieved from a Tautulli component if no authentication is enabled there.");

  script_tag(name:"impact", value:"The flaw allows an unauthenticated attacker to bypass an
  intended access control and might allow to download various content from the Plex server.");

  script_tag(name:"solution", value:"As a workaround enable authentication for Tautulli to prevent
  an unauthenticated attacker to obtain the token.");

  script_xref(name:"URL", value:"https://www.elladodelmal.com/2018/08/shodan-es-de-cine-hacking-tautulli-un.html");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");

if (!port = get_app_port(cpe: CPE, service: "www"))
  exit(0);

if (!dir = get_app_location(cpe: CPE, port: port))
  exit(0);

if (dir == "/")
  dir = "";

if (!token = get_kb_item("tautulli/plex_token"))
  exit(99);

url = dir + "/?X-Plex-Token=" + token;

if (http_vuln_check(port: port, url: url, pattern: "<MediaContainer", check_header: TRUE)) {
  report = 'It was possible to access Plex at ' + http_report_vuln_url(port: port, url: url, url_only: TRUE) +
           ' with the obtained token "' + token + '" from Tautulli.';
  security_message(port: port, data: report);
  exit(0);
}

exit(99);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

16 Sep 2025 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 24
CVSS 3.16.5
EPSS0.02059
236