Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Chamilo | Chamilo | <= 1.11.14 |
Related Weaknesses (CWE)
References
- http://packetstormsecurity.com/files/162572/Chamilo-LMS-1.11.14-Remote-Code-ExecExploitThird Party AdvisoryVDB Entry
- https://github.com/chamilo/chamilo-lms/commit/229302139e8d23bf6862183cf219b967f6PatchThird Party Advisory
- https://github.com/chamilo/chamilo-lms/commit/f65d065061a77bb2e84f73217079ce3998PatchThird Party Advisory
- https://support.chamilo.org/projects/1/wiki/Security_issues#Issue-48-2021-04-17-PatchVendor Advisory
- http://packetstormsecurity.com/files/162572/Chamilo-LMS-1.11.14-Remote-Code-ExecExploitThird Party AdvisoryVDB Entry
- https://github.com/chamilo/chamilo-lms/commit/229302139e8d23bf6862183cf219b967f6PatchThird Party Advisory
- https://github.com/chamilo/chamilo-lms/commit/f65d065061a77bb2e84f73217079ce3998PatchThird Party Advisory
- https://support.chamilo.org/projects/1/wiki/Security_issues#Issue-48-2021-04-17-PatchVendor Advisory
FAQ
What is CVE-2021-31933?
CVE-2021-31933 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 filen...
How severe is CVE-2021-31933?
CVE-2021-31933 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-31933?
Check the references section above for vendor advisories and patch information. Affected products include: Chamilo Chamilo.