CWE-88WeaknessBase
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
CWE-95WeaknessVariant
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
CWE-96WeaknessBase
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before inserting the input into an executable resource, such as a library, configuration file, or template.
CWE-98WeaknessVariant
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.
CWE-209WeaknessBase
The product generates an error message that includes sensitive information about its environment, users, or associated data.
CWE-211WeaknessBase
The product performs an operation that triggers an external diagnostic or error message that is not directly generated or controlled by the product, such as an error generated by the programming language interpreter that a software application uses. The error can contain sensitive system information.
CWE-434WeaknessBase
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
CWE-453WeaknessVariant
The product, by default, initializes an internal variable with an insecure or less secure value than is possible.
CWE-454WeaknessBase
The product initializes critical internal variables or data stores using inputs that can be modified by untrusted actors.
CWE-457WeaknessVariant
The code uses a variable that has not been initialized, leading to unpredictable or unintended results.
CWE-470WeaknessBase
The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.
CWE-473WeaknessVariant
A PHP application does not properly protect against the modification of variables from external sources, such as query parameters or cookies. This can expose the application to numerous weaknesses that would not exist otherwise.
CWE-474WeaknessBase
The code uses a function that has inconsistent implementations across operating systems and versions.
CWE-484WeaknessBase
The product omits a break statement within a switch or similar construct, causing code associated with multiple conditions to execute. This can cause problems when the programmer only intended to execute code associated with one condition.
CWE-502WeaknessBase
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
CWE-595WeaknessVariant
The product compares object references instead of the contents of the objects themselves, preventing it from detecting equivalent objects.
CWE-597WeaknessVariant
The product uses the wrong operator when comparing a string, such as using "==" when the .equals() method should be used instead.
CWE-616WeaknessVariant
The PHP application uses an old method for processing uploaded files by referencing the four global variables that are set for each file (e.g. $varname, $varname_size, $varname_name, $varname_type). These variables could be overwritten by attackers, causing the application to process unauthorized files.
CWE-621WeaknessVariant
The product uses external input to determine the names of variables into which information is extracted, without verifying that the names of the specified variables are valid. This could cause the program to overwrite unintended variables.
CWE-624WeaknessBase
The product uses a regular expression that either (1) contains an executable component with user-controlled inputs, or (2) allows a user to enable execution by inserting pattern modifiers.
CWE-625WeaknessBase
The product uses a regular expression that does not sufficiently restrict the set of allowed values.
CWE-626WeaknessVariant
The product does not properly handle null bytes or NUL characters when passing data between different representations or components.
CWE-627WeaknessVariant
In a language where the user can influence the name of a variable at runtime, if the variable names are not controlled, an attacker can read or write to arbitrary variables, or access arbitrary functions.
CWE-915WeaknessBase
The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.
CWE-1024WeaknessBase
The product performs a comparison between two entities, but the entities are of different, incompatible types that cannot be guaranteed to provide correct results when they are directly compared.
CWE-1336WeaknessBase
The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.