CWE-98

Overview
  • CWE ID
  • 98
  • CWE Name
  • Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
  • CWE Abstraction
  • Variant
  • CWE structure
  • Simple
  • CWE Status
  • Draft
Description
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.
Extended Description
In certain versions and configurations of PHP, this can allow an attacker to specify a URL to a remote location from which the software will obtain the code to execute. In other cases in association with path traversal, the attacker can specify a local fi
Related CWEs
CWE ID View ID Nature Ordinal
706 1000 ChildOf
829 1000 ChildOf Primary
94 1000 CanPrecede
426 1000 CanAlsoBe