Files
CVEs-PoC/2020/CVE-2020-7062.md
T
2024-05-25 21:48:12 +02:00

18 lines
896 B
Markdown

### [CVE-2020-7062](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7062)
![](https://img.shields.io/static/v1?label=Product&message=PHP&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=7.3.x%3C%207.3.15%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-476%20NULL%20Pointer%20Dereference&color=brighgreen)
### Description
In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload functionality, if upload progress tracking is enabled, but session.upload_progress.cleanup is set to 0 (disabled), and the file upload fails, the upload procedure would try to clean up data that does not exist and encounter null pointer dereference, which would likely lead to a crash.
### POC
#### Reference
- https://bugs.php.net/bug.php?id=79221
#### Github
No PoCs found on GitHub currently.