PHP

PHP : Incorrect file opening

Classification

CWE/SANS Top 25 2021

Overview

When the file is opened for reading, it needs to already exist.

The argument of the fopen() function must be an existing file or path to the file.

LOW

DerScanner Severity Score

Check your PHP code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.