Lucene search
+L

WordPress Adaptive Images Plugin < 0.6.67 Multiple Vulnerabilities

🗓️ 22 Jul 2019 00:00:00Reported by Copyright (C) 2019 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 150 Views

WordPress Adaptive Images Plugin < 0.6.67 Multiple Vulnerabilities. Prone to local file inclusion and arbitrary file deletion

Refs
Code
# Copyright (C) 2019 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.112610");
  script_version("2023-02-28T10:20:42+0000");
  script_tag(name:"last_modification", value:"2023-02-28 10:20:42 +0000 (Tue, 28 Feb 2023)");
  script_tag(name:"creation_date", value:"2019-07-22 08:49:00 +0000 (Mon, 22 Jul 2019)");
  script_tag(name:"cvss_base", value:"6.4");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:P");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2023-02-24 19:48:00 +0000 (Fri, 24 Feb 2023)");

  script_cve_id("CVE-2019-14205", "CVE-2019-14206");

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

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

  script_name("WordPress Adaptive Images Plugin < 0.6.67 Multiple Vulnerabilities");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_wordpress_plugin_http_detect.nasl");
  script_mandatory_keys("wordpress/plugin/adaptive-images/detected");

  script_tag(name:"summary", value:"The WordPress plugin 'Adaptive Images' is prone to multiple vulnerabilities.");

  script_tag(name:"insight", value:"The following vulnerabilities exist:

  - a local file inclusion vulnerability via the $REQUEST['adaptive-images-settings']['source_file']
  parameter in adaptive-images-script.php

  - an arbitrary file deletion vulnerability via the $REQUEST['adaptive-images-settings']
  parameter in adaptive-images-script.php");

  script_tag(name:"impact", value:"Successful exploitation of these vulnerabilities would allow a remote attacker
  to retrieve or delete arbitrary files.");

  script_tag(name:"affected", value:"WordPress Adaptive Images plugin before version 0.6.67.");

  script_tag(name:"solution", value:"Update to version 0.6.67 or later.");

  script_xref(name:"URL", value:"https://wordpress.org/plugins/adaptive-images/#developers");
  script_xref(name:"URL", value:"https://github.com/markgruffer/markgruffer.github.io/blob/master/_posts/2019-07-19-adaptive-images-for-wordpress-0-6-66-lfi-rce-file-deletion.markdown");
  script_xref(name:"URL", value:"https://markgruffer.github.io/2019/07/19/adaptive-images-for-wordpress-0-6-66-lfi-rce-file-deletion.html");
  script_xref(name:"URL", value:"https://wpscan.com/vulnerability/9468");

  exit(0);
}

CPE = "cpe:/a:nevma:adaptive_images";

include("host_details.inc");
include("version_func.inc");

if( ! port = get_app_port( cpe: CPE ) ) exit( 0 );
if( ! infos = get_app_version_and_location( cpe: CPE, port: port, exit_no_version: TRUE ) ) exit( 0 );

version = infos["version"];
location = infos["location"];

if( version_is_less( version: version, test_version: "0.6.67" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "0.6.67", install_path: location );
  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