AWS logo
Amazon QDetector LibrarySign in to Amazon Q
AWSbreadcrumb dividerDocumentationbreadcrumb dividerAmazon Qbreadcrumb dividerDetector Librarybreadcrumb dividerPHPbreadcrumb dividerZip bomb attackFeedbackFeedback 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

Zip bomb attack High

Failing to control the ratio between compressed and uncompressed data, define the threshold for the maximum total size of the uncompressed data, or count the number of file entries extracted from the files could make your code vulnerable to zip bomb attacks. Zip bomb attacks cause excessive resource consumption to uncompress the archive files, which could potentially cause denial of service (DoS).

Detector ID
php/zip-bomb-attack@v1.0
Category
Security
Common Weakness Enumeration (CWE) external icon
CWE-409
Tags
# owasp-top10