Lucene search

K
openvasCopyright (C) 2024 Greenbone AGOPENVAS:1361412562310114550
HistoryMay 06, 2024 - 12:00 a.m.

WordPress Avada Theme < 7.11.7 Information Disclosure Vulnerability

2024-05-0600:00:00
Copyright (C) 2024 Greenbone AG
plugins.openvas.org
9
wordpress
avada theme
information disclosure
vulnerability
unauthenticated attackers
sensitive data
directory listing

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

6.8 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

21.6%

The WordPress Avada theme is prone to an information disclosure
vulnerability.

# 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("2024-05-07T05:05:33+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:"2024-05-07 05:05:33 +0000 (Tue, 07 May 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 );

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

6.8 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

21.6%

Related for OPENVAS:1361412562310114550