Attack 4: set path Attack
Overview Requirement Preparation Submission Resources
Overview
Some setuid or setgid programs use system() function to call other commands. If a command is called by relative path, such as system(“ls”), system will search “ls” in default paths, which is set in environment when login. With no arguments, set command displays all environment variables in minix. These variables can be temporarily changed by current user. 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) Preparing for the project
Download attack4.tar from website and save it in your smx/ directory; Solaris-Minix Release 2.0 Version 0
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
Updated: 03/13/2005 |