Summary

Acunetix 360 detected that the allow_url_fopen directive is enabled.

Impact

When allow_url_fopen is enabled, some of PHP's functions that usually expect file paths can be used to receive files over the network instead of the local file system. An attacker can abuse this behavior in order to make arbitrary server-side requests. Abusing different protocol handlers can lead to a variety of problems most notably to the server-side request forgery.

Actions To Take

If you don't rely on allow_url_fopen for legitimate uses in your application, it is strongly advised to disable it in your php.ini file. In order to do this, please add or modify the allow_url_fopen directive accordingly.

allow_url_fopen = off

Severity

Low

Classification

CWE-16 OWASP 2013-A5 OWASP 2017-A6