Authentication Bypass by Alternate Name |
Weakness ID: 289 (Weakness Variant) | Status: Incomplete |
Description Summary
Reference | Description |
---|---|
CVE-2003-0317 | Protection mechanism that restricts URL access can be bypassed using URL encoding. |
CVE-2004-0847 | Bypass of authentication for files using "\" (backslash) or "%5C" (encoded backslash). |
Phase: Architecture and Design Avoid making decisions based on names of resources (e.g. files) if those resources can have alternate names. |
Phase: Architecture and Design Assume all input is malicious. Use a standard input validation mechanism to validate all input for length, type, syntax, and business rules before accepting the data to be displayed or stored. Use an "accept known good" validation strategy. Input (specifically, unexpected CRLFs) that is not appropriate should not be processed into HTTP headers. |
Phase: Architecture and Design Use and specify a strong output encoding (such as ISO 8859-1 or UTF 8). |
Do not rely exclusively on blacklist validation to detect malicious input or to encode output. There are too many variants to encode a character, so you're likely to miss some variants. |
Inputs should be decoded and canonicalized to the application's current internal representation before being validated. Make sure that your application does not decode the same input twice. Such errors could be used to bypass whitelist schemes by introducing dangerous inputs after they have been checked. |
Nature | Type | ID | Name | View(s) this relationship pertains to![]() |
---|---|---|---|---|
ChildOf | ![]() | 592 | Authentication Bypass Issues | Development Concepts (primary)699 Research Concepts (primary)1000 |
CanFollow | ![]() | 46 | Path Equivalence: 'filename ' (Trailing Space) | Research Concepts1000 |
CanFollow | ![]() | 52 | Path Equivalence: '/multiple/trailing/slash//' | Research Concepts1000 |
CanFollow | ![]() | 171 | Cleansing, Canonicalization, and Comparison Errors | Research Concepts1000 |
CanFollow | ![]() | 173 | Failure to Handle Alternate Encoding | Research Concepts1000 |
CanFollow | ![]() | 178 | Failure to Resolve Case Sensitivity | Research Concepts1000 |
Overlaps equivalent encodings, canonicalization, authorization, multiple trailing slash, trailing space, mixed case, and other equivalence issues. |
Alternate names are useful in data driven manipulation attacks, not just for authentication. |
Mapped Taxonomy Name | Node ID | Fit | Mapped Node Name |
---|---|---|---|
PLOVER | Authentication bypass by alternate name |
Submissions | ||||
---|---|---|---|---|
Submission Date | Submitter | Organization | Source | |
PLOVER | Externally Mined | |||
Modifications | ||||
Modification Date | Modifier | Organization | Source | |
2008-07-01 | Eric Dalci | Cigital | External | |
updated Potential Mitigations, Time of Introduction | ||||
2008-09-08 | CWE Content Team | MITRE | Internal | |
updated Description, Relationships, Other Notes, Relationship Notes, Taxonomy Mappings | ||||
2008-11-24 | CWE Content Team | MITRE | Internal | |
updated Observed Examples | ||||
2009-07-27 | CWE Content Team | MITRE | Internal | |
updated Other Notes, Potential Mitigations, Theoretical Notes |