Files
CVEs-PoC/2021/CVE-2021-36766.md
2025-09-29 21:09:30 +02:00

18 lines
1.1 KiB
Markdown

### [CVE-2021-36766](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-36766)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### Description
Concrete5 through 8.5.5 deserializes Untrusted Data. The vulnerable code is located within the controllers/single_page/dashboard/system/environment/logging.php Logging::update_logging() method. User input passed through the logFile request parameter is not properly sanitized before being used in a call to the file_exists() PHP function. This can be exploited by malicious users to inject arbitrary PHP objects into the application scope (PHP Object Injection via phar:// stream wrapper), allowing them to carry out a variety of attacks, such as executing arbitrary PHP code.
### POC
#### Reference
- http://packetstormsecurity.com/files/163564/Concrete5-8.5.5-Phar-Deserialization.html
#### Github
No PoCs found on GitHub currently.