CVE-2021-31933
CVSS V2 Medium 6.5
CVSS V3 High 7.2
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.
Overview
- CVE ID
- CVE-2021-31933
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-04-30T21:15:09
- Last Modified Date
- 2022-06-28T14:11:45
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:chamilo:chamilo:*:*:*:*:*:*:*:* | 1 | OR | 1.11.14 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- HIGH
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.2
- Base Severity
- HIGH
- Exploitability Score
- 1.2
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/chamilo/chamilo-lms/commit/229302139e8d23bf6862183cf219b967f6e2fbc1 | Patch Third Party Advisory |
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 |
http://packetstormsecurity.com/files/162572/Chamilo-LMS-1.11.14-Remote-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-31933 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31933 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:15:52 | Added to TrackCVE | |||
2022-12-05 01:24:43 | 2021-04-30T21:15Z | 2021-04-30T21:15:09 | CVE Published Date | updated |
2022-12-05 01:24:43 | 2022-06-28T14:11:45 | CVE Modified Date | updated | |
2022-12-05 01:24:43 | Analyzed | Vulnerability Status | updated |