WordPress Multiple Vulnerabilities (Dec 2019) - Windows
🗓️ 16 Dec 2019 00:00:00Reported by Copyright (C) 2019 Greenbone AGType
openvas🔗 plugins.openvas.org👁 57 Views
10
# 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:wordpress:wordpress";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.112675");
script_version("2024-02-08T05:05:59+0000");
script_tag(name:"last_modification", value:"2024-02-08 05:05:59 +0000 (Thu, 08 Feb 2024)");
script_tag(name:"creation_date", value:"2019-12-16 13:38:14 +0000 (Mon, 16 Dec 2019)");
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:"severity_vector", value:"CVSS:3.1/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:"2020-01-08 12:15:00 +0000 (Wed, 08 Jan 2020)");
script_cve_id("CVE-2019-16773", "CVE-2019-16780", "CVE-2019-16781",
"CVE-2019-16788", "CVE-2019-20041", "CVE-2019-20042", "CVE-2019-20043");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("WordPress Multiple Vulnerabilities (Dec 2019) - Windows");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2019 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_wordpress_http_detect.nasl", "os_detection.nasl");
script_mandatory_keys("wordpress/detected", "Host/runs_windows");
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:
- An issue where an unprivileged user could make a post sticky via the REST API
- The function wp_targeted_link_rel() can be used in a particular way to result in a stored cross-site scripting (XSS) vulnerability
- An issue where cross-site scripting (XSS) could be stored in well-crafted links
- wp_kses_bad_protocol() is not aware of the named colon attribute
- A stored XSS vulnerability using block editor content.");
script_tag(name:"affected", value:"WordPress version 5.3.1 and earlier.");
script_tag(name:"solution", value:"Update to version 3.7.31, 3.8.31, 3.9.29, 4.0.28, 4.1.28, 4.2.25, 4.3.21,
4.4.20, 4.5.19, 4.6.16, 4.7.15, 4.8.11, 4.9.12, 5.0.7, 5.1.3, 5.2.4 or later.");
script_xref(name:"URL", value:"https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/");
exit(0);
}
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: "3.7.32")) {
report = report_fixed_ver(installed_version: version, fixed_version: "3.7.32", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "3.8", test_version2: "3.8.31")) {
report = report_fixed_ver(installed_version: version, fixed_version: "3.8.32", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "3.9", test_version2: "3.9.29")) {
report = report_fixed_ver(installed_version: version, fixed_version: "3.9.30", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.0", test_version2: "4.0.28")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.0.29", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.1", test_version2: "4.1.28")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.1.29", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.2", test_version2: "4.2.25")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.2.26", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.3", test_version2: "4.3.21")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.3.22", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.4", test_version2: "4.4.20")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.4.21", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.5", test_version2: "4.5.19")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.5.20", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.6", test_version2: "4.6.16")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.6.17", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.7", test_version2: "4.7.15")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.7.16", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.8", test_version2: "4.8.11")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.8.12", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "4.9", test_version2: "4.9.12")) {
report = report_fixed_ver(installed_version: version, fixed_version: "4.9.13", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "5.0", test_version2: "5.0.7")) {
report = report_fixed_ver(installed_version: version, fixed_version: "5.0.8", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "5.1", test_version2: "5.1.3")) {
report = report_fixed_ver(installed_version: version, fixed_version: "5.1.4", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_in_range(version: version, test_version: "5.2", test_version2: "5.2.1")) {
report = report_fixed_ver(installed_version: version, fixed_version: "5.2.5", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if(version_is_equal(version: version, test_version: "5.3")) {
report = report_fixed_ver(installed_version: version, fixed_version: "5.3.1", 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
08 Feb 2024 00:00Current
5.7Medium risk
Vulners AI Score5.7
CVSS 27.5
CVSS 3.15.8 - 9.8
EPSS0.04654