Skip to main content

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

CVE-2014-4931

Severity High
Score 10/10

Summary

A code injection vulnerability was found in symfony/symfony, symfony/translation, and symfony/framework-bundle, through which an attacker can submit a non-valid locale value that can contain some PHP code that will be executed by Symfony, because the locale value is dumped into a PHP file generated in the cache without being sanitized first.

  • LOW
  • NETWORK
  • HIGH
  • CHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-98 - Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.

Advisory Timeline

  • Published