| Impact | Details |
|---|---|
|
Bypass Protection Mechanism |
Scope: Access Control |
| Phase(s) | Mitigation |
|---|---|
|
Architecture and Design; Operation; Implementation |
Implement proper protection for immutable data (e.g. environment variable, hidden form fields, etc.)
|
| Nature | Type | ID | Name |
|---|---|---|---|
| ChildOf | Base Base - a weakness that is still mostly independent of a resource or technology, but with sufficient details to provide specific methods for detection and prevention. Base level weaknesses typically describe issues in terms of 2 or 3 of the following dimensions: behavior, property, technology, language, and resource. | 807 | Reliance on Untrusted Inputs in a Security Decision |
| ChildOf | Class Class - a weakness that is described in a very abstract fashion, typically independent of any specific language or technology. More specific than a Pillar Weakness, but more general than a Base Weakness. Class level weaknesses typically describe issues in terms of 1 or 2 of the following dimensions: behavior, property, and resource. | 1390 | Weak Authentication |
| Nature | Type | ID | Name |
|---|---|---|---|
| MemberOf | Category Category - a CWE entry that contains a set of other entries that share a common characteristic. | 1010 | Authenticate Actors |
| Phase | Note |
|---|---|
| Architecture and Design | COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic. |
| Implementation |
Class: Not Language-Specific (Undetermined Prevalence)
Example 1
In the following example, an "authenticated" cookie is used to determine whether or not a user should be granted access to a system.
Modifying the value of a cookie on the client-side is trivial, but many developers assume that cookies are essentially immutable.
Note: this is a curated list of examples for users to understand the variety of ways in which this weakness can be introduced. It is not a complete list of all CVEs that are related to this CWE entry.
| Reference | Description |
|---|---|
|
DebPloit
|
|
|
Web auth
|
|
|
Authentication bypass by setting certain cookies to "true".
|
|
|
Authentication bypass by setting certain cookies to "true".
|
|
|
Admin access by setting a cookie.
|
|
|
Gain privileges by setting cookie.
|
|
|
Product trusts authentication information in cookie.
|
|
|
Authentication bypass by setting admin-testing variable to true.
|
|
|
Bypass auth and gain privileges by setting a variable.
|
| Nature | Type | ID | Name |
|---|---|---|---|
| MemberOf | CategoryCategory - a CWE entry that contains a set of other entries that share a common characteristic. | 724 | OWASP Top Ten 2004 Category A3 - Broken Authentication and Session Management |
| MemberOf | CategoryCategory - a CWE entry that contains a set of other entries that share a common characteristic. | 859 | The CERT Oracle Secure Coding Standard for Java (2011) Chapter 16 - Platform Security (SEC) |
| MemberOf | CategoryCategory - a CWE entry that contains a set of other entries that share a common characteristic. | 949 | SFP Secondary Cluster: Faulty Endpoint Authentication |
| MemberOf | CategoryCategory - a CWE entry that contains a set of other entries that share a common characteristic. | 1353 | OWASP Top Ten 2021 Category A07:2021 - Identification and Authentication Failures |
| MemberOf | CategoryCategory - a CWE entry that contains a set of other entries that share a common characteristic. | 1396 | Comprehensive Categorization: Access Control |
Rationale
This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.Comments
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.| Mapped Taxonomy Name | Node ID | Fit | Mapped Node Name |
|---|---|---|---|
| PLOVER | Authentication Bypass via Assumed-Immutable Data | ||
| OWASP Top Ten 2004 | A1 | CWE More Specific | Unvalidated Input |
| The CERT Oracle Secure Coding Standard for Java (2011) | SEC02-J | Do not base security checks on untrusted sources |
| CAPEC-ID | Attack Pattern Name |
|---|---|
| CAPEC-10 | Buffer Overflow via Environment Variables |
| CAPEC-13 | Subverting Environment Variable Values |
| CAPEC-21 | Exploitation of Trusted Identifiers |
| CAPEC-274 | HTTP Verb Tampering |
| CAPEC-31 | Accessing/Intercepting/Modifying HTTP Cookies |
| CAPEC-39 | Manipulating Opaque Client-based Data Tokens |
| CAPEC-45 | Buffer Overflow via Symbolic Links |
| CAPEC-77 | Manipulating User-Controlled Variables |
| Submissions | ||
|---|---|---|
| Submission Date | Submitter | Organization |
|
2006年07月19日
(CWE Draft 3, 2006年07月19日) |
PLOVER | |
| Modifications | ||
| Modification Date | Modifier | Organization |
| 2023年06月29日 | CWE Content Team | MITRE |
| updated Mapping_Notes | ||
| 2023年04月27日 | CWE Content Team | MITRE |
| updated Relationships | ||
| 2023年01月31日 | CWE Content Team | MITRE |
| updated Type | ||
| 2022年10月13日 | CWE Content Team | MITRE |
| updated Relationships | ||
| 2021年10月28日 | CWE Content Team | MITRE |
| updated Relationships | ||
| 2021年03月15日 | CWE Content Team | MITRE |
| updated Demonstrative_Examples | ||
| 2020年02月24日 | CWE Content Team | MITRE |
| updated Relationships | ||
| 2019年01月03日 | CWE Content Team | MITRE |
| updated Taxonomy_Mappings | ||
| 2017年11月08日 | CWE Content Team | MITRE |
| updated Applicable_Platforms, Modes_of_Introduction, Relationships | ||
| 2017年05月03日 | CWE Content Team | MITRE |
| updated Relationships | ||
| 2014年07月30日 | CWE Content Team | MITRE |
| updated Demonstrative_Examples, Relationships | ||
| 2012年05月11日 | CWE Content Team | MITRE |
| updated Relationships, Taxonomy_Mappings | ||
| 2011年06月01日 | CWE Content Team | MITRE |
| updated Common_Consequences, Relationships, Taxonomy_Mappings | ||
| 2010年04月05日 | CWE Content Team | MITRE |
| updated Related_Attack_Patterns | ||
| 2010年02月16日 | CWE Content Team | MITRE |
| updated Potential_Mitigations, Relationships | ||
| 2009年03月10日 | CWE Content Team | MITRE |
| updated Relationships | ||
| 2008年10月14日 | CWE Content Team | MITRE |
| updated Demonstrative_Examples, Description | ||
| 2008年09月08日 | CWE Content Team | MITRE |
| updated Relationships, Taxonomy_Mappings | ||
| 2008年07月01日 | Eric Dalci | Cigital |
| updated Time_of_Introduction | ||
| 2008年07月01日 | Sean Eidemiller | Cigital |
| added/updated demonstrative examples | ||
Use of the Common Weakness Enumeration (CWE™) and the associated references from this website are subject to the Terms of Use. CWE is sponsored by the U.S. Department of Homeland Security (DHS) Cybersecurity and Infrastructure Security Agency (CISA) and managed by the Homeland Security Systems Engineering and Development Institute (HSSEDI) which is operated by The MITRE Corporation (MITRE). Copyright © 2006–2025, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation.