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.

Featured resources

Blog

Strengthening enterprise application security: Invicti acquires Kondukto

Blog

Modern AppSec KPIs: Moving from scan counts to real risk reduction

Blog

Friends don’t let friends shift left: Shift smarter with DAST-first AppSec

Blog

Vibe talking: Dan Murphy on the promises, pitfalls, and insecurities of vibe coding

Blog

What lies ahead for CMS.

Blog

How to integrate CMS with other tools.

Blog

Improve user experience through CMS.

Blog

How CMS can benefit e-commerce.

Blog

Stay updated on CMS trends.

Blog

Tips for improving CMS performance.

Blog

Learn how to secure your CMS.

Blog

Explore the advantages of CMS.

Blog

A comprehensive guide to CMS.

Build your resistance to threats. And save hundreds of hours each month.