cve/2021/CVE-2021-31933.md

18 lines
951 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-31933](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31933)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- http://packetstormsecurity.com/files/162572/Chamilo-LMS-1.11.14-Remote-Code-Execution.html
#### Github
- https://github.com/ARPSyndicate/cvemon