CWE-16
OWASP 2013-A5
OWASP 2017-A6

PHP allow_url_fopen Is Enabled

Severity:
Low
Summary

Invicti 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.

Remediation
Required Skills for Successful Exploitation
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

Classifications
Vulnerability Index

You can search and find all vulnerabilities

Select Vulnerability
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.