Lucene search

K
nessusThis script is Copyright (C) 2018-2024 and is owned by Tenable, Inc. or an Affiliate thereof.WORDPRESS_PLUGIN_ACCELERATED-MOBILE-PAGES_0_9_97_20.NASL
HistoryNov 15, 2018 - 12:00 a.m.

WordPress Plugin 'AMP for WP - Accelerated Mobile Pages' < 0.9.97.20 Multiple Vulnerabilities

2018-11-1500:00:00
This script is Copyright (C) 2018-2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
38

AI Score

6.6

Confidence

High

The WordPress application running on the remote host has a version of the β€˜AMP for WP - Accelerated Mobile Pages’ plugin that is prior to 0.9.97.20 and, thus, is affected by multiple vulnerabilities. The most severe of which would allow a low level user to modify any request to call AJAX hooks and insert malicious code into a site. The patched version also corrects flaws for cross-site scripting (XSS) vulnerabilities as well as other precautionary fixes.

#
# (C) Tenable Network Security, Inc.
#

include('compat.inc');

if (description)
{
  script_id(118977);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/06/05");

  script_name(english:"WordPress Plugin 'AMP for WP - Accelerated Mobile Pages' < 0.9.97.20 Multiple Vulnerabilities");

  script_set_attribute(attribute:"synopsis", value:
"The remote WordPress application has a plugin installed that is
affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The WordPress application running on the remote host has a version of
the 'AMP for WP - Accelerated Mobile Pages' plugin that is prior to
0.9.97.20 and, thus, is affected by multiple vulnerabilities. The most
severe of which would allow a low level user to modify any request to
call AJAX hooks and insert malicious code into a site. The patched
version also corrects flaws for cross-site scripting (XSS)
vulnerabilities as well as other precautionary fixes.");
  script_set_attribute(attribute:"see_also", value:"https://www.webarxsecurity.com/amp-plugin-vulnerability/");
  script_set_attribute(attribute:"see_also", value:"https://thehackernews.com/2018/11/amp-plugin-for-WordPress.html");
  script_set_attribute(attribute:"see_also", value:"https://wordpress.org/plugins/accelerated-mobile-pages/");
  script_set_attribute(attribute:"see_also", value:"https://ampforwp.com/0-9-97-20-released-stability-update/");
  script_set_attribute(attribute:"solution", value:
"Update the 'AMP for WP - Accelerated Mobile Pages' plugin to
version 0.9.97.20 or later through the administrative dashboard.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L");
  script_set_attribute(attribute:"cvss_score_source", value:"manual");
  script_set_attribute(attribute:"cvss_score_rationale", value:"Score based on analysis of the vendor advisory.");

  script_set_attribute(attribute:"vuln_publication_date", value:"2018/11/15");
  script_set_attribute(attribute:"patch_publication_date", value:"2018/10/29");
  script_set_attribute(attribute:"plugin_publication_date", value:"2018/11/15");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:wordpress:wordpress");
  script_set_attribute(attribute:"enable_cgi_scanning", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2018-2024 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("wordpress_plugin_detect.nbin");
  script_require_keys("installed_sw/WordPress", "www/PHP");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("vcf.inc");
include("vcf_extras.inc");

app_info = vcf::wordpress::plugin::get_app_info(plugin:"accelerated-mobile-pages");
vcf::check_granularity(app_info:app_info, sig_segments:2);

constraints = [
  { "fixed_version" : "0.9.97.20" }
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING, flags:{"xss":TRUE});

AI Score

6.6

Confidence

High