[Misdetection] PHP file misdetected as image when image is injected at the start of the file #468
Labels
misdetection
This issue is about a misdetection on a content type currently supported
needs triage
This issue still needs triage by one of the maintainers
If you take an image file, append PHP code to it (and rename to .PHP) it will be recognized as image. Old PHP code injection vulnerabilities were possible with such files when the code used a bad source of mime type detection.
Example file (PNG icon with phpinfo at the end):
example.zip
The text was updated successfully, but these errors were encountered: