Lucene search
+L

Chamilo LMS 'CVE-2022-40407' RCE Vulnerability

🗓️ 30 Sep 2022 00:00:00Reported by Copyright (C) 2022 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 22 Views

Chamilo LMS 'CVE-2022-40407' RCE Vulnerability, allows authenticated RCE via malicious zip file uploa

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2022-40407
29 Sep 202218:35
circl
cnnvd
CNNVD
Chamilo LMS 代码问题漏洞
29 Sep 202200:00
cnnvd
cve
CVE
CVE-2022-40407
29 Sep 202213:20
cve
cvelist
Cvelist
CVE-2022-40407
29 Sep 202213:20
cvelist
euvd
EUVD
EUVD-2022-43696
3 Oct 202520:07
euvd
nvd
NVD
CVE-2022-40407
29 Sep 202214:15
nvd
prion
Prion
Unrestricted file upload
29 Sep 202214:15
prion
ptsecurity
Positive Technologies
PT-2022-25370 · Chamilo · Chamilo
29 Sep 202200:00
ptsecurity
redhatcve
RedhatCVE
CVE-2022-40407
22 May 202523:25
redhatcve
vulnrichment
Vulnrichment
CVE-2022-40407
29 Sep 202213:20
vulnrichment
# SPDX-FileCopyrightText: 2022 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:chamilo:chamilo_lms";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.127208");
  script_version("2025-01-21T05:37:33+0000");
  script_tag(name:"last_modification", value:"2025-01-21 05:37:33 +0000 (Tue, 21 Jan 2025)");
  # nb: This was initially a single VT but got split later into multiple due to different affected /
  # fixed versions. Thus the original creation_date of the first VT has been kept.
  script_tag(name:"creation_date", value:"2022-09-30 08:47:25 +0000 (Fri, 30 Sep 2022)");
  script_tag(name:"cvss_base", value:"9.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2022-10-04 12:57:00 +0000 (Tue, 04 Oct 2022)");

  script_cve_id("CVE-2022-40407");

  # nb: Seems no actual "patch" has been provided and the user needs to apply some mitigations
  # manually which is something we can't detect.
  script_tag(name:"qod_type", value:"remote_banner_unreliable");

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

  script_name("Chamilo LMS 'CVE-2022-40407' RCE Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2022 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_chamilo_http_detect.nasl");
  script_mandatory_keys("chamilo/detected");

  script_tag(name:"summary", value:"Chamilo LMS is prone to a remote code execution (RCE)
  vulnerability.");

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

  script_tag(name:"insight", value:"An attacker could execute authenticated RCE via malicious zip
  file upload.");

  script_tag(name:"affected", value:"Chamilo LMS in all versions without applied migitations.");

  script_tag(name:"solution", value:"Please see the referenced advisory how to mitigate this
  vulnerability.");

  script_xref(name:"URL", value:"https://support.chamilo.org/projects/1/wiki/Security_issues#Issue-94-2022-09-06-High-impact-Moderate-risk-Authenticated-RCE-via-zipslip-attack-in-file-upload-CVE-2022-40407");

  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"];

report = report_fixed_ver(installed_version: version, fixed_version: "See vendor advisory", install_path: location);
security_message(port: port, data: report);
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

21 Jan 2025 00:00Current
9.1High risk
Vulners AI Score9.1
CVSS 3.18.8
EPSS0.01284
SSVC
22