Lucene search

K
openvasCopyright (C) 2018 Greenbone Networks GmbHOPENVAS:1361412562310112465
HistoryDec 17, 2018 - 12:00 a.m.

WordPress Multiple Vulnerabilities (Dec 2018) - Windows

2018-12-1700:00:00
Copyright (C) 2018 Greenbone Networks GmbH
plugins.openvas.org
38

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

6.4 Medium

AI Score

Confidence

High

7.5 High

CVSS2

Access Vector

Access Complexity

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.018 Low

EPSS

Percentile

88.1%

WordPress is prone to multiple vulnerabilities.

# Copyright (C) 2018 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.112465");
  script_version("2023-03-01T10:20:05+0000");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2023-03-01 10:20:05 +0000 (Wed, 01 Mar 2023)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-03-04 14:19:00 +0000 (Mon, 04 Mar 2019)");
  script_tag(name:"creation_date", value:"2018-12-17 14:16:22 +0100 (Mon, 17 Dec 2018)");

  script_name("WordPress Multiple Vulnerabilities (Dec 2018) - Windows");

  script_cve_id("CVE-2018-20147", "CVE-2018-20148", "CVE-2018-20149", "CVE-2018-20150", "CVE-2018-20151", "CVE-2018-20152", "CVE-2018-20153");

  script_tag(name:"summary", value:"WordPress is prone to multiple vulnerabilities.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

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

  - Authors could alter meta data to delete files that they weren't authorized to.

  - Authors could create posts of unauthorized post types with specially crafted input.

  - Contributors could craft meta data in a way that resulted in PHP object injection.

  - Contributors could edit new comments from higher-privileged users, potentially leading to a cross-site scripting vulnerability.

  - Specially crafted URL inputs could lead to a cross-site scripting vulnerability in some circumstances.
  WordPress itself was not affected, but plugins could be in some situations.

  - The user activation screen could be indexed by search engines in some uncommon configurations,
  leading to exposure of email addresses, and in some rare cases, default generated passwords.

  - Authors on Apache-hosted sites could upload specifically crafted files that bypass MIME verification,
  leading to a cross-site scripting vulnerability.");

  script_tag(name:"affected", value:"All versions since WordPress 3.7 up to 5.0.");

  script_tag(name:"solution", value:"The issues have been fixed in version 5.0.1.
  Updated versions of WordPress 4.9 and older releases are also available.

  Please see the references for more information.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_banner");
  script_xref(name:"URL", value:"https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/106220");
  script_copyright("Copyright (C) 2018 Greenbone Networks GmbH");
  script_category(ACT_GATHER_INFO);
  script_family("Web application abuses");
  script_dependencies("os_detection.nasl", "gb_wordpress_http_detect.nasl");
  script_mandatory_keys("wordpress/detected", "Host/runs_windows");

  exit(0);
}

CPE = "cpe:/a:wordpress:wordpress";

include("version_func.inc");
include("host_details.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);

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

if(version_is_equal(version:vers, test_version:"5.0.0")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"5.0.1", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.9.0", test_version2:"4.9.8")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.9.9", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.8.0", test_version2:"4.8.7")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.8.8", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.7.0", test_version2:"4.7.11")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.7.12", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.6.0", test_version2:"4.6.12")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.6.13", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.5.0", test_version2:"4.5.15")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.5.16", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.4.0", test_version2:"4.4.16")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.4.17", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.3.0", test_version2:"4.3.17")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.3.18", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.2.0", test_version2:"4.2.21")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.2.22", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.1.0", test_version2:"4.1.24")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.1.25", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"4.0.0", test_version2:"4.0.24")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"4.0.25", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"3.9.0", test_version2:"3.9.25")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"3.9.26", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_in_range(version:vers, test_version:"3.8.0", test_version2:"3.8.27")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"3.8.28", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

if(version_is_less(version:vers, test_version:"3.7.28")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"3.7.28", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

exit(99);

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

6.4 Medium

AI Score

Confidence

High

7.5 High

CVSS2

Access Vector

Access Complexity

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.018 Low

EPSS

Percentile

88.1%