Privilege Context Switching Error |
Weakness ID: 270 (Weakness Base) | Status: Draft |
Description Summary
The software does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control.
Reference | Description |
---|---|
CVE-2002-1688 | Web browser cross domain problem when user hits "back" button. |
CVE-2003-1026 | Web browser cross domain problem when user hits "back" button. |
CVE-2002-1770 | Cross-domain issue - third party product passes code to web browser, which executes it in unsafe zone. |
CVE-2005-2263 | Run callback in different security context after it has been changed from untrusted to trusted. * note that "context switch before actions are completed" is one type of problem that happens frequently, espec. in browsers. |
Very carefully manage the setting, management and handling of privileges. Explicitly manage trust zones in the software. |
Follow the principle of least privilege when assigning access rights to entities in a software system. |
Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource. |
Nature | Type | ID | Name | View(s) this relationship pertains to![]() |
---|---|---|---|---|
ChildOf | ![]() | 269 | Improper Privilege Management | Development Concepts (primary)699 Research Concepts (primary)1000 |
Mapped Taxonomy Name | Node ID | Fit | Mapped Node Name |
---|---|---|---|
PLOVER | Privilege Context Switching Error |
[REF-11] M. Howard and D. LeBlanc. "Writing Secure Code". Chapter 7, "Running with Least Privilege" Page 207. 2nd Edition. Microsoft. 2002. |
Submissions | ||||
---|---|---|---|---|
Submission Date | Submitter | Organization | Source | |
PLOVER | Externally Mined | |||
Modifications | ||||
Modification Date | Modifier | Organization | Source | |
2008-07-01 | Eric Dalci | Cigital | External | |
updated Time of Introduction | ||||
2008-09-08 | CWE Content Team | MITRE | Internal | |
updated Description, Relationships, Taxonomy Mappings | ||||
2009-12-28 | CWE Content Team | MITRE | Internal | |
updated Potential Mitigations |