AWS logo
Amazon QDetector LibrarySign in to Amazon Q
AWSbreadcrumb dividerDocumentationbreadcrumb dividerAmazon Qbreadcrumb dividerDetector Librarybreadcrumb dividerPHPbreadcrumb dividerUnrestricted File UploadFeedbackFeedback icon

Amazon Q

Detector Library

PHP detectors (37/37)

Server Side Request ForgerySQL InjectionActivated Debug FeatureSensitive information leakLog InjectionMissing AuthorizationOrigins-verified cross-origin communicationsCross-site scriptingPath TraversalAvoiding Exceptions in PHPOS command injectionIncorrect ComparisonLdap Bind Without PasswordSendfile InjectionInteger Overflow or WraparoundAssert UseLoose file permissionsHardcoded credentialsImproper 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 dataUnrestricted File UploadStatic Initialization Vector (IV)Coral Csrf RuleInsecure cookieImproper access controlInsecure Object Attribute Modification

Unrestricted File Upload High

Exercise caution when utilizing these functions to read file contents with user-controlled data. Prioritize proper data validation instead of directly using input before passing it to these functions.

Detector ID
php/unrestricted-file-upload@v1.0
Category
Security
Common Weakness Enumeration (CWE) external icon
CWE-73CWE-434
Tags
# owasp-top10