Moodle <= 3.11.4 XSS Vulnerability
🗓️ 22 Mar 2024 00:00:00Reported by Copyright (C) 2024 Greenbone AGType
openvas🔗 plugins.openvas.org👁 18 Views
| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| The vulnerability of the virtual learning environment Moodle, related to the lack of security measures for the website structure, allows attackers to gain access to read, modify, or delete data, as well as execute cross-site attacks. | 2 Apr 202400:00 | – | bdu_fstec | |
| Moodle 跨站脚本漏洞 | 21 Mar 202400:00 | – | cnnvd | |
| Moodle cross-site scripting vulnerability (CNVD-2024-21664) | 26 Mar 202400:00 | – | cnvd | |
| CVE-2024-29374 | 21 Mar 202400:00 | – | cve | |
| CVE-2024-29374 | 21 Mar 202400:00 | – | cvelist | |
| Cross site scripting in moodle | 21 Mar 202421:31 | – | github | |
| CVE-2024-29374 | 21 Mar 202419:15 | – | nvd | |
| BIT-MOODLE-2024-29374 | 2 May 202506:18 | – | osv | |
| GHSA-3QW5-V9CC-V262 Cross site scripting in moodle | 21 Mar 202421:31 | – | osv | |
| UBUNTU-CVE-2024-29374 | 21 Mar 202419:15 | – | osv |
10
# 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.126656");
script_version("2025-03-25T05:38:56+0000");
script_tag(name:"last_modification", value:"2025-03-25 05:38:56 +0000 (Tue, 25 Mar 2025)");
script_tag(name:"creation_date", value:"2024-03-22 10:00:26 +0000 (Fri, 22 Mar 2024)");
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_cve_id("CVE-2024-29374");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"WillNotFix");
script_name("Moodle <= 3.11.4 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 'GET /?lang' URL parameter.
This parameter is likely used to specify the user's preferred language for the MOODLE
interface.");
script_tag(name:"affected", value:"Moodle version 3.11.4 and prior.");
# nb: You can check e.g. here if there are any updates available:
# - https://moodle.org/search/index.php?q=%22CVE-2024-29374%22
# - https://moodle.org/mod/forum/view.php?id=7128
# - https://moodle.org/mod/forum/search.php?id=1&words=CVE-2024-29374
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.");
script_xref(name:"URL", value:"https://gist.github.com/fir3storm/f9c7f3ec1a6496498517ed216d2640b2");
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.11.4")) {
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
25 Mar 2025 00:00Current
6Medium risk
Vulners AI Score6
CVSS 3.16.1
EPSS0.00533
SSVC