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

20 lines
917 B
Markdown

### [CVE-2021-23420](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23420)
![](https://img.shields.io/static/v1?label=Product&message=codeception%2Fcodeception&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=4.0.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=unspecified%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Deserialization%20of%20Untrusted%20Data&color=brightgreen)
### Description
This affects the package codeception/codeception from 4.0.0 and before 4.1.22, before 3.1.3. The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation.
### POC
#### Reference
- https://github.com/JinYiTong/poc
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585
#### Github
- https://github.com/n0-traces/cve_monitor