Lucene search
+L

Drupal Information Disclosure Vulnerability (GHSA-mg8j-w93w-xjgc) - Windows - Version Check

🗓️ 03 Feb 2025 00:00:00Reported by Copyright (C) 2025 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

Drupal has an information disclosure vulnerability affecting versions 8.x to 10.2.8 on Windows systems.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Generation of Error Message Containing Sensitive Information in Drupal
10 Feb 202616:18
githubexploit
bdu_fstec
BDU FSTEC
The vulnerability of the /core/authorize.php file in the Drupal CMS system allows a hacker to disclose protected information.
3 Oct 202400:00
bdu_fstec
circl
Circl
CVE-2024-45440
29 Aug 202413:42
circl
cnnvd
CNNVD
Drupal 安全漏洞
29 Aug 202400:00
cnnvd
cve
CVE
CVE-2024-45440
29 Aug 202400:00
cve
cvelist
Cvelist
CVE-2024-45440
29 Aug 202400:00
cvelist
exploitdb
Exploit DB
Drupal 11.x-dev - Full Path Disclosure
19 Apr 202500:00
exploitdb
github
Github Security Blog
Drupal Full Path Disclosure
29 Aug 202412:31
github
kitploit
Kitploit
CVE-2024-45440
1 Sep 202606:10
kitploit
kitploit
Kitploit
CVE-2024-45440
28 Aug 202605:38
kitploit
Rows per page
# SPDX-FileCopyrightText: 2025 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:drupal:drupal";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.153922");
  script_version("2025-02-04T05:37:53+0000");
  script_tag(name:"last_modification", value:"2025-02-04 05:37:53 +0000 (Tue, 04 Feb 2025)");
  script_tag(name:"creation_date", value:"2025-02-03 02:44:46 +0000 (Mon, 03 Feb 2025)");
  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:"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-09-19 17:38:40 +0000 (Thu, 19 Sep 2024)");

  script_cve_id("CVE-2024-45440");

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

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

  script_name("Drupal Information Disclosure Vulnerability (GHSA-mg8j-w93w-xjgc) - Windows - Version Check");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2025 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_drupal_http_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("drupal/detected", "Host/runs_windows");

  script_tag(name:"summary", value:"Drupal is prone to an information disclosure vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"core/authorize.php allows full path disclosure (even when error
  logging is None) if the value of hash_salt is file_get_contents of a file that does not exist.");

  script_tag(name:"affected", value:"Drupal version 8.x through 10.2.8, 10.3.x through 10.3.5 and
  11.x through 11.0.4.");

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

  script_xref(name:"URL", value:"https://github.com/advisories/GHSA-mg8j-w93w-xjgc");
  script_xref(name:"URL", value:"https://www.drupal.org/project/drupal/issues/3457781");
  script_xref(name:"URL", value:"https://senscybersecurity.nl/CVE-2024-45440-Explained/");

  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: TRUE,
                                          version_regex: "^[0-9]+\.[0-9]+"))
  exit(0);

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

if (version_in_range_exclusive(version: version, test_version_lo: "8.0.0", test_version_up: "10.2.9")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "10.2.9", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

if (version_in_range_exclusive(version: version, test_version_lo: "10.3.0", test_version_up: "10.3.6")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "10.3.6", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

if (version_in_range_exclusive(version: version, test_version_lo: "11.0.0", test_version_up: "11.0.5")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "11.0.5", 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