# 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 upl…

- Severity: High 7.2 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:U/UI:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 13.9%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-30T20:49:20.000Z
- Modified: 2026-06-17T03:52:31.107Z
- Weaknesses: CWE-706
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- chamilo chamilo: up to 1.11.14

## Every score

- mitre: CVSS:3.1 7.2 High `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:U/UI:N`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <http://packetstormsecurity.com/files/162572/Chamilo-LMS-1.11.14-Remote-Code-Execution.html> (exploit, third-party-advisory, vdb-entry)
- <https://support.chamilo.org/projects/1/wiki/Security_issues#Issue-48-2021-04-17-Critical-impact-high-risk-Remote-Code-Execution> (patch, vendor-advisory)
- <https://github.com/chamilo/chamilo-lms/commit/f65d065061a77bb2e84f73217079ce3998cf3453> (patch, third-party-advisory)
- <https://github.com/chamilo/chamilo-lms/commit/229302139e8d23bf6862183cf219b967f6e2fbc1> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-31933](https://www.cve.org/CVERecord?id=CVE-2021-31933), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31933](https://nvd.nist.gov/vuln/detail/CVE-2021-31933), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31933 · Whole record: https://cve.day/CVE-2021-31933.json · Rebuilt by cve.day 2026-11-25T22:58:01.128Z
