← Vulnerability feed

Vulnerability record · CVE-2021-31933 · published 30 April 2021

CVE-2021-31933: Chamilo vulnerability

Chamilo · Chamilo

A remote code execution vulnerability exists in Chamilo through 1.11.14 due to improper input sanitization of a parameter used for file uploads, and improper file-extension filtering for certain filenames (e.g., .phar or .pht). A remote authenticated administrator is able to upload a file containing arbitrary PHP code into specific directories via main/inc/lib/fileUpload.lib.php directory traversal to achieve PHP code execution.

7.2 CVSS 3.1 High EPSS 14% · top 3.6% CWE-706 · CWE-706
7.2CVSS 3.1 base score, v2 6.5
14%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

A remote code execution vulnerability exists in Chamilo through 1.11.14 due to improper input sanitization of a parameter used for file uploads, and improper file-extension filtering for certain filenames (e.g., .phar or .pht). A remote authenticated administrator is able to upload a file containing arbitrary PHP code into specific directories via main/inc/lib/fileUpload.lib.php directory traversal to achieve PHP code execution.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-31933 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-3533Chamilo path traversal vulnerabilityPath traversal in file upload functionality in `/main/webservices/additional_webservices.php` in Chamilo LMS <= v1.11.20 allows unauthenticated attac…EPSS 3.5%9.8CVE-2023-3545Chamilo vulnerabilityImproper sanitisation in `main/inc/lib/fileUpload.lib.php` in Chamilo LMS <= v1.11.20 on Windows and Apache installations allows unauthenticated atta…EPSS 2.4%9.8CVE-2023-3368Chamilo LMS unauthenticated command injection in additional_webservices.phpChamilo LMS through v1.11.20 fails to neutralise special characters in /main/webservices/additional_webservices.php, allowing OS command injection. T…EPSS 70%analysed9.8CVE-2023-34960Chamilo wsConvertPpt SOAP command injectionChamilo versions 1.11.* up to 1.11.18 contain a command injection flaw in the wsConvertPpt component. A crafted PowerPoint name sent through a SOAP A…EPSS 99%analysed9.8CVE-2021-34187Chamilo sql injection vulnerabilitymain/inc/ajax/model.ajax.php in Chamilo through 1.11.14 allows SQL Injection via the searchField, filters, or filters2 parameter.EPSS 16%8.8CVE-2022-42029Chamilo unrestricted file upload vulnerabilityChamilo 1.11.16 is affected by an authenticated local file inclusion vulnerability which allows authenticated users with access to 'big file uploads'…EPSS 0.76%8.8CVE-2022-40407Chamilo unrestricted file upload vulnerabilityA zip slip vulnerability in the file upload function of Chamilo v1.11 allows attackers to execute arbitrary code via a crafted Zip file.EPSS 1.6%8.8CVE-2021-40662Chamilo cross-site request forgery vulnerabilityA Cross-Site Request Forgery (CSRF) in Chamilo LMS 1.11.14 allows attackers to execute arbitrary commands on victim hosts via user interaction with a…EPSS 1.1%

Source: NIST National Vulnerability Database (record CVE-2021-31933), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.