AWS logo
Amazon QDetector LibrarySign in to Amazon Q
AWSbreadcrumb dividerDocumentationbreadcrumb dividerAmazon Qbreadcrumb dividerDetector Librarybreadcrumb dividerPHPbreadcrumb dividerInsecure Object Attribute ModificationFeedbackFeedback icon

Amazon Q

Detector Library

PHP detectors (34/34)

Server Side Request ForgerySQL InjectionActivated Debug FeatureSensitive information leakLog InjectionOrigins-verified cross-origin communicationsCross-site scriptingDangerous Function UsagePath TraversalAvoiding Exceptions in PHPOS command injectionIncorrect ComparisonLdap Bind Without PasswordSendfile InjectionAssert UseLoose file permissionsImproper AuthenticationInsecure connectionWeak Random Number GenerationOpen RedirectAllow Url Fopen Or IncludeInsecure cryptographyObject Input Stream Insecure DeserializationCookie Without Http Only FlagCode InjectionZip bomb attackUnsafe ReflectionSecure Signal HandlingDeserialization of untrusted dataStatic Initialization Vector (IV)Coral Csrf RuleInsecure cookieImproper access controlInsecure Object Attribute Modification

Insecure Object Attribute Modification High

By default, Laravel Eloquent models protect attributes from mass assignment for security. Setting the $guarded property to an empty array in a model overrides this behavior, allowing all attributes to be mass assigned without restrictions.

Detector ID
php/insecure-object-attribute-modification@v1.0
Category
Security
Common Weakness Enumeration (CWE) external icon
CWE-915
Tags
-