Null Pointer Dereference Vulnerability in PHP File Upload Progress Tracking

Null Pointer Dereference Vulnerability in PHP File Upload Progress Tracking

CVE-2020-7062 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.