Attack 1: Race Condition Attack
Overview Requirement (Mandatory/Bonus) Preparation Submission Resources
Overview
A race condition is an undesirable situation that occurs when system attempts to perform two or more operations at the same time, but because of the nature of the system, the operations must be done in the proper sequence in order to be done correctly. Project Requirements
We want to see a working demonstration of your exploitable implementation (note: if all the requirements are not satisfied, grades will be based on what you turn in) Mandatory Requirement:
(1) Read source code (/smx/src/commands/simple/at.c) and figure out why there is race condition vulnerability in this program and identify the corresponding codes. Bonus Part:
If change mkdir to be a setuid program, what is the outcome of it. Identify corresponding code which may cause a problem and describe how can you exploit it. Preparing for the project
Download attack1.tar from website and save it in your smx/ directory; Submission & Demonstration
You are expected to submit a hardcopy report of your attack. In your report, you should specify the procedures you implement the attacks, explain why you consider your attack is successful, and what procedure may help to fix the vulnerability. Helpful Documents
Linux Ptrace race condition allows a local attacker to gain root privileges
Updated: 03/13/2005 |