Lucene search
+L

WordPress All in One SEO Pack Plugin < 4.1.0.2 RCE Vulnerability

🗓️ 29 Jun 2021 00:00:00Reported by Copyright (C) 2021 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 18 Views

WordPress All in One SEO Pack Plugin < 4.1.0.2 RCE Vulnerability. Allows authenticated users to execute arbitrary code via configuration backup file

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2021-24307
24 May 202111:15
attackerkb
circl
Circl
CVE-2021-24307
3 Jan 202206:42
circl
cnnvd
CNNVD
WordPress plugin All in One SEO Pack 代码问题漏洞
24 May 202100:00
cnnvd
cnvd
CNVD
WordPress Code Injection Vulnerability
25 May 202100:00
cnvd
cve
CVE
CVE-2021-24307
24 May 202110:58
cve
cvelist
Cvelist
CVE-2021-24307 All in One SEO Pack < 4.1.0.2 - Admin RCE via unserialize
24 May 202110:58
cvelist
githubexploit
GithubExploit
Exploit for Deserialization of Untrusted Data in Aioseo All_In_One_Seo
2 Jan 202207:50
githubexploit
kitploit
Kitploit
CVE-2021-24307-all-in-one-seo-pack-admin-rce
27 Aug 202606:14
kitploit
nvd
NVD
CVE-2021-24307
24 May 202111:15
nvd
osv
OSV
CVE-2021-24307
24 May 202111:15
osv
Rows per page
# SPDX-FileCopyrightText: 2021 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:aioseo:all_in_one_seo";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.146187");
  script_version("2025-01-21T05:37:33+0000");
  script_tag(name:"last_modification", value:"2025-01-21 05:37:33 +0000 (Tue, 21 Jan 2025)");
  script_tag(name:"creation_date", value:"2021-06-29 08:01:57 +0000 (Tue, 29 Jun 2021)");
  script_tag(name:"cvss_base", value:"9.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2021-05-28 14:56:00 +0000 (Fri, 28 May 2021)");

  script_cve_id("CVE-2021-24307");

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

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

  script_name("WordPress All in One SEO Pack Plugin < 4.1.0.2 RCE Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2021 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_wordpress_plugin_http_detect.nasl");
  script_mandatory_keys("wordpress/plugin/all-in-one-seo-pack/detected");

  script_tag(name:"summary", value:"The WordPress plugin 'All in One SEO Pack' is prone to a remote
  code execution (RCE) vulnerability.");

  script_tag(name:"insight", value:"The All in One SEO - Best WordPress SEO Plugin enables
  authenticated users with 'aioseo_tools_settings' privilege (most of the time admin) to execute
  arbitrary code on the underlying host. Users can restore plugin's configuration by uploading a
  backup .ini file in the section 'Tool > Import/Export'. However, the plugin attempts to
  unserialize values of the .ini file. Moreover, the plugin embeds Monolog library which can be
  used to craft a gadget chain and thus trigger system command execution.");

  script_tag(name:"impact", value:"An authenticated attacker might execute arbitrary code.");

  script_tag(name:"affected", value:"WordPress All in One SEO Pack plugin prior to version 4.1.0.2.");

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

  script_xref(name:"URL", value:"https://wordpress.org/plugins/all-in-one-seo-pack/#developers");
  script_xref(name:"URL", value:"https://wpscan.com/vulnerability/ab2c94d2-f6c4-418b-bd14-711ed164bcf1");

  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: FALSE))
  exit(0);

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

# nb: All versions before 2.2.7.3 had "Stable tag: trunk".
# In case the plugin has been located, it can still be reported as vulnerable
if (location && !version) {
  report = report_fixed_ver(installed_version: "< 2.2.7.3", fixed_version: "4.1.0.2", install_path: location);
  security_message(port: port, data: report);
  exit(0);
} else if (version_is_less(version: version, test_version: "4.1.0.2")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "4.1.0.2", 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

21 Jan 2025 00:00Current
8.8High risk
Vulners AI Score8.8
CVSS 3.18.8
CVSS 29
EPSS0.53274
18