Fundamentals of InfoSecadvanced
A program checks a user's privilege, then performs the requested action later. The privilege can change between the check and action. What is the central problem?
Answer
A race condition because the check and use are not atomic
Explanation
### Why this is right
The security decision may become stale because the state can change between checking the privilege and using it. The material identifies non-atomic check-and-use operations as a source of race conditions.
### The concept
An operation is atomic when it behaves as an indivisible unit for the relevant security decision. If the check and action are separated, an intervening change may make the action unauthorized or produce corrupted output.
### The other options
- **A buffer overflow because the user entered too much data**: this concerns memory bounds, not timing between a check and use.
- **Sniffing because traffic is being observed**: sniffing is network eavesdropping.
- **A denial-of-service attack because the service is unavailable**: this concerns service availability.
### Terms
- **Race condition**: a timing-dependent flaw.
- **Atomic**: treated as indivisible in the relevant operation.
### Remember
If a security state can change between checking and acting, suspect a race condition.
Related Questions
- Explain why computer security is described as a process rather than a product. Include the roles of technology, people, and environment.(intermediate)
- Select ALL items the review identifies as possible security risks or losses.(intermediate)
- Arrange these broad security activities in a sensible cycle, beginning with identifying what needs protection.(intermediate)
- A security product can replace the continuing work of managing people, technology, and the operating environment.(intermediate)
- Which statement best captures the course review’s view of computer security?(intermediate)
Want to practice more questions like this?
Join myBenkio free and practice past questions for your Nigerian university courses with AI explanations for every answer.
Start Practicing Free