Attack 6: Passwd Attack
Overview Requirement Preparation Submission Resources
Overview
In minix, “passwd” command has a "-F/-f" flag allowing user to specify the file to use (instead of /etc/passwd). To run successfully, the specified file’s owner must be root and can not be writable to other user. However there exists a vulnerability in it, user can use it to see most files’ content (hint: why not all, think it. For example, you can not see /etc/shadow) with the owner of root. 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 attack6.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
Manual page for passwd command Manual page for getpwent command
Updated: 03/13/2005 |