CWE-22WeaknessBase
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CWE-73WeaknessBase
The product allows user input to control or influence paths or file names that are used in filesystem operations.
CWE-78WeaknessBase
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CWE-89WeaknessBase
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
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-120WeaknessBase
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
CWE-129WeaknessVariant
The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
CWE-131WeaknessBase
The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.
CWE-250WeaknessBase
The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.
CWE-266WeaknessBase
A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.
CWE-267WeaknessBase
A particular privilege, role, capability, or right can be used to perform unsafe actions that were not intended, even when it is assigned to the correct entity.
CWE-268WeaknessBase
Two distinct privileges, roles, capabilities, or rights can be combined in a way that allows an entity to perform unsafe actions that would not be allowed without that combination.
CWE-269WeaknessClass
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
CWE-270WeaknessBase
The product does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control.
CWE-271WeaknessClass
The product does not drop privileges before passing control of a resource to an actor that does not have those privileges.
CWE-272WeaknessBase
The elevated privilege level required to perform operations such as chroot() should be dropped immediately after the operation is performed.
CWE-276WeaknessBase
During installation, installed file permissions are set to allow anyone to modify those files.
CWE-277WeaknessVariant
A product defines a set of insecure permissions that are inherited by objects that are created by the program.
CWE-278WeaknessVariant
A product inherits a set of insecure permissions for an object, e.g. when copying from an archive file, without user awareness or involvement.
CWE-279WeaknessVariant
While it is executing, the product sets the permissions of an object in a way that violates the intended permissions that have been specified by the user.
CWE-282WeaknessClass
The product assigns the wrong ownership, or does not properly verify the ownership, of an object or resource.
CWE-283WeaknessBase
The product does not properly verify that a critical resource is owned by the proper entity.
CWE-284WeaknessPillar
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
CWE-302WeaknessBase
The authentication scheme or implementation uses key data elements that are assumed to be immutable, but can be controlled or modified by the attacker.
CWE-362WeaknessClass
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
CWE-425WeaknessBase
The web application does not adequately enforce appropriate authorization on all restricted URLs, scripts, or files.
CWE-434WeaknessBase
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
CWE-471WeaknessBase
The product does not properly protect an assumed-immutable element from being modified by an attacker.
CWE-494WeaknessBase
The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.
CWE-538WeaknessBase
The product places sensitive information into files or directories that are accessible to actors who are allowed to have access to the files, but not to the sensitive information.
CWE-732WeaknessClass
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
CWE-805WeaknessBase
The product uses a sequential operation to read or write a buffer, but it uses an incorrect length value that causes it to access memory that is outside of the bounds of the buffer.
CWE-829WeaknessBase
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
CWE-942WeaknessVariant
The product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.
CWE-1391WeaknessClass
The product uses weak credentials (such as a default key or hard-coded password) that can be calculated, derived, reused, or guessed by an attacker.