CVE-2021-31933

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:chamilo:chamilo:*:*:*:*:*:*:*:*

History

17 May 2021, 20:15

Type Values Removed Values Added
References (MISC) http://packetstormsecurity.com/files/162572/Chamilo-LMS-1.11.14-Remote-Code-Execution.html - (MISC) http://packetstormsecurity.com/files/162572/Chamilo-LMS-1.11.14-Remote-Code-Execution.html - Exploit, Third Party Advisory, VDB Entry

14 May 2021, 16:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/162572/Chamilo-LMS-1.11.14-Remote-Code-Execution.html -

11 May 2021, 17:59

Type Values Removed Values Added
CPE cpe:2.3:a:chamilo:chamilo:*:*:*:*:*:*:*:*
CWE CWE-20
CVSS v2 : unknown
v3 : unknown
v2 : 6.5
v3 : 7.2
References (MISC) https://github.com/chamilo/chamilo-lms/commit/229302139e8d23bf6862183cf219b967f6e2fbc1 - (MISC) https://github.com/chamilo/chamilo-lms/commit/229302139e8d23bf6862183cf219b967f6e2fbc1 - Patch, Third Party Advisory
References (MISC) https://github.com/chamilo/chamilo-lms/commit/f65d065061a77bb2e84f73217079ce3998cf3453 - (MISC) https://github.com/chamilo/chamilo-lms/commit/f65d065061a77bb2e84f73217079ce3998cf3453 - Patch, Third Party Advisory
References (MISC) https://support.chamilo.org/projects/1/wiki/Security_issues#Issue-48-2021-04-17-Critical-impact-high-risk-Remote-Code-Execution - (MISC) https://support.chamilo.org/projects/1/wiki/Security_issues#Issue-48-2021-04-17-Critical-impact-high-risk-Remote-Code-Execution - Patch, Vendor Advisory

30 Apr 2021, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-30 21:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-31933

Mitre link : CVE-2021-31933

CVE.ORG link : CVE-2021-31933


JSON object : View

Products Affected

chamilo

  • chamilo
CWE
CWE-706

Use of Incorrectly-Resolved Name or Reference