Vulnerabilities · 2021 · Chamilo
CVE-2021-31933
Chamilo vulnerability
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.
Affected products
Chamilo. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Chamilo runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- support.chamilo.org/projects/1/wiki/Security_issues#Issue-48-2021-04-17-Critical-impact-hi · Patch
- github.com/chamilo/chamilo-lms/commit/229302139e8d23bf6862183cf219b967f6e2fbc1 · Patch
- github.com/chamilo/chamilo-lms/commit/f65d065061a77bb2e84f73217079ce3998cf3453 · Patch
- packetstormsecurity.com/files/162572/Chamilo-LMS-1.11.14-Remote-Code-Execution.html · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-31933
- cve.org/CVERecord?id=CVE-2021-31933
More vulnerabilities in Chamilo products
CVE-2025-69581CVE-2024-51142CVE-2024-30619CVE-2024-30618CVE-2024-30617CVE-2024-30616CVE-2024-27525CVE-2024-27524All 78
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.