AWS logo
Amazon QDetector LibrarySign in to Amazon Q
AWSbreadcrumb dividerDocumentationbreadcrumb dividerAmazon Qbreadcrumb dividerDetector Librarybreadcrumb dividerC#breadcrumb dividerPassword ComplexityFeedbackFeedback icon

Q

Detector Library

C# detectors (44/44)

Method Input ValidationPassword ComplexityXml External EntityMemory Marshal CreateSpanCross-Site Request Forgery (CSRF)Module InjectionImproper Cryptographic Signature VerificationObsolete CryptographyInefficient Regular ExpressionDouble Epsilon EqualityUnrestricted File UploadOutput Cache ConflictsUnsafe XSLT Setting UsedCross Site Scripting (XSS)Weak Cipher AlgorithmStack Trace ExposureXPath InjectionThread Safety ViolationOS Command InjectionUnvalidated RedirectInteger OverflowAvoid Persistent CookiesUntrusted DeserializationLDAP InjectionWeak Random Number GenerationSQL InjectionPath TraversalDebug BinarySensitive Information LeakWebconfig Trace EnabledInter Process Write of RegionInfoCode InjectionMissing AuthorizationJWT TokenValidationParameters No ExpiryRazor Use of html stringServer-Side Request Forgery (SSRF)Origins Verified Cross Origin CommunicationsPrevent Excessive AuthenticationImproper AuthenticationCertificate Validation DisabledInsecure CryptographyLog InjectionMass AssignmentCookie Without SSL Flag

Password Complexity High

The application's PasswordValidator.RequiredLength property allows passwords to be less than 8 characters. Consider requiring a length of at least 8 or more characters to reduce the chance of passwords being brute forced.

Detector ID
csharp/password-complexity@v1.0
Category
Security
Common Weakness Enumeration (CWE) external icon
CWE-521
Tags
-