Lucene search
+L

WordPress Avada Theme < 7.11.7 Information Disclosure Vulnerability

🗓️ 06 May 2024 00:00:00Reported by Copyright (C) 2024 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 200 Views

WordPress Avada Theme < 7.11.7 Information Disclosure Vulnerability. Vulnerability allows unauthenticated attackers to extract sensitive data from '/wp-content/uploads/fusion-forms/' directory

Related
Refs
Code
# SPDX-FileCopyrightText: 2024 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.114550");
  script_version("2025-01-13T08:32:03+0000");
  script_cve_id("CVE-2024-2340");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_tag(name:"last_modification", value:"2025-01-13 08:32:03 +0000 (Mon, 13 Jan 2025)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2024-04-09 19:15:32 +0000 (Tue, 09 Apr 2024)");
  script_tag(name:"creation_date", value:"2024-05-06 10:47:09 +0000 (Mon, 06 May 2024)");
  script_name("WordPress Avada Theme < 7.11.7 Information Disclosure Vulnerability");
  script_category(ACT_GATHER_INFO); # nb: No "attacking" request
  script_copyright("Copyright (C) 2024 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_wordpress_http_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("wordpress/http/detected");

  script_xref(name:"URL", value:"https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-themes/Avada/avada-7116-unauthenticated-sensitive-information-exposure-via-form-uploads-directory-listing");

  script_tag(name:"summary", value:"The WordPress Avada theme is prone to an information disclosure
  vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.

  Note: Even if the theme has been removed in the past this VT will report a vulnerability on
  purpose as long as the affected directory is published without access restrictions.");

  script_tag(name:"insight", value:"The theme is vulnerable to a sensitive information exposure via
  the '/wp-content/uploads/fusion-forms/' directory.");

  script_tag(name:"impact", value:"This makes it possible for unauthenticated attackers to extract
  sensitive data uploaded via an Avada created form with a file upload mechanism.");

  script_tag(name:"affected", value:"The WordPress Avada theme in versions prior to 7.11.7.");

  script_tag(name:"solution", value:"- Update to version 7.11.7 or later

  - Restrict access to the folder in question");

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

  exit(0);
}

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

url = dir + "/wp-content/uploads/fusion-forms/";

res = http_get_cache( item:url, port:port );
if( ! res || res !~ "^HTTP/1\.[01] 200" )
  exit( 0 );

if( ! body = http_extract_body_from_response( data:res ) )
  exit( 0 );

# e.g. (depending on the used Webserver, e.g. Apache vs. Lightspeed):
#   <title>Index of /wp-content/uploads/fusion-forms</title>
# <h1>Index of /wp-content/uploads/fusion-forms</h1>
# </script><title>Index of /wp-content/uploads/fusion-forms/</title></head>
# <body><div class="content"><h1>Index of /wp-content/uploads/fusion-forms/</h1>
# <TITLE>Directory listing of /wp-content/uploads/fusion-forms/</TITLE>
#
# nb: Don't include a trailing "/" in the URL pattern below as some web servers are not including that
#
if( egrep( string:body, pattern:"<(title|h[0-9])>(Directory listing|Index) (for|of) [^<]*/wp-content/uploads/fusion-forms[^<]*</(title|h[0-9])>", icase:TRUE ) ) {
  report  = http_report_vuln_url( port:port, url:url );
  report += '\n\nResponse (possibly truncated):\n' + substr( body, 0, 1500 );
  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

13 Jan 2025 00:00Current
5.1Medium risk
Vulners AI Score5.1
CVSS 3.15.3
EPSS0.27997
SSVC
200