Lucene search
+L

Moodle <= 3.10 XSS Vulnerability

🗓️ 11 Jul 2024 00:00:00Reported by Copyright (C) 2024 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 102 Views

Moodle <= 3.10 XSS Vulnerability. Allows XSS via Field Name in new activity

Related
Refs
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
Moodle New Activity Handler Code Execution
3 Jul 202400:00
–bdu_fstec
cnnvd
CNNVD
Moodle CMS Cross-Site Scripting Vulnerability
20 Jun 202400:00
–cnnvd
cve
CVE
CVE-2024-37674
20 Jun 202400:00
–cve
cvelist
Cvelist
CVE-2024-37674
20 Jun 202400:00
–cvelist
nvd
NVD
CVE-2024-37674
20 Jun 202418:15
–nvd
osv_bit
osv_bit
BIT-MOODLE-2024-37674
14 Jun 202505:58
–osv_bit
osv_ubuntu
osv_ubuntu
UBUNTU-CVE-2024-37674
20 Jun 202418:15
–osv_ubuntu
ptsecurity
Positive Technologies
PT-2024-4468 · Moodle · Moodle
10 Jun 202400:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2024-37674: Improper Neutralization of Input During Web Page Generation
20 Jun 202400:00
–rapid7
ubuntucve
UbuntuCve
CVE-2024-37674
20 Jun 202418:15
–ubuntucve
Rows per page
# 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:moodle:moodle";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.128026");
  script_version("2025-07-15T05:43:27+0000");
  script_tag(name:"last_modification", value:"2025-07-15 05:43:27 +0000 (Tue, 15 Jul 2025)");
  script_tag(name:"creation_date", value:"2024-07-11 10:00:00 +0000 (Thu, 11 Jul 2024)");
  script_tag(name:"cvss_base", value:"6.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");

  script_cve_id("CVE-2024-37674");

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

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

  script_name("Moodle <= 3.10 XSS Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2024 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_moodle_cms_detect.nasl");
  script_mandatory_keys("moodle/detected");

  script_tag(name:"summary", value:"Moodle is prone to a cross-site scripting (XSS)
  vulnerability.");

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

  script_tag(name:"insight", value:"Moodle allows to perform XSS via the Field Name (name parameter)
  of a new activity.");

  script_tag(name:"affected", value:"Moodle version 3.10 and prior.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year since
  the disclosure of this vulnerability. Likely none will be provided anymore. General solution options
  are to upgrade to a newer release, disable respective features, remove the product or replace the
  product by another one.");

  # as of 11th july 2025 the first referenced link does not work anymore
  script_xref(name:"URL", value:"https://github.com/MohamedAzizMSALLEMI/Moodle_Security/blob/main/CVE-2024-37674.md");
  script_xref(name:"URL", value:"https://github.com/advisories/GHSA-fcqv-w7xc-5vmc");

  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))
  exit(0);

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

if (version_is_less_equal(version: version, test_version: "3.10")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "None", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

exit(0);

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

15 Jul 2025 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 3.15.5
EPSS0.00559
SSVC
102