![]() |
CSC347 Introduction to Information Security
|
| Due: | November 9, 2016 at 11:59 PM |
|---|---|
| Late penalty: | 10% for 1 day, 20% for 2 days |
| Hand in: |
Electronic submit a2.zip here.
a2 has the following structure.
|
| Marking: | |
| Groups: | Groups of size 2. Both students receive the same mark. |
The fourFours web application may be vulnerable. Using only a web browser or other remote tools (on the host machine), find out as much about the application as you can. Write a report on what you have discovered. If there are any vulnerabilits/exploits, document them in your report, as in assignment 1. The more you know about the application, its internals, its users etc. the better. Provide step by step instructions detailing how you discovered information and how to carry out exploits. Marks for this problem are based on the amount of detail discovered and the collection of vulnerabilities and exploits listed (both number and type). All attacks are to be remote, you should assume that you do not have direct access to the machine running the web application.
The above is called penetration testing.
Your report should describe, step by step, what you did and what you discovered. You can build your own tools or use others to investigate the application, your investigations should not assume any form of access to the machine other than over port 80 (ie, through a web browser). Don't assume that you can attempt to login to the guest VM, that you have 'physical' access to the guest vm etc. Imagine that the guest VM is being hosted by a company on the web, you do not have control over this machine, you can only see it via port 80 (http).
For reference, please take a look at The OWASP Top 10. I see vulnerabilities in at least 4 of the categories listed. We studied SQL Injection, XSS and XSRF. A single vulnerability might lead to many exploits. An example of an exploit might be:
You can log into the web server using arnold/bpbthisisvulnerable2016. That is, before part b this is vulnerable 2016.
For this question, you are to look at fourFours application vulnerabilities and then fix them, hardening the application. Fix any of the issues you found with the application and the server that made it easy for you to get your job done as a hacker. Submit a writeup of what you did to harden the application. Submit any modified code etc.
Some pointers: To change to root, execute
/var/www. You can (and should) do whatever you think is necessary to lock down
this application. Your writeup should include the steps you took to lock it down.
See /var/www/fourFours/index_fixed.php for hints on the index.php.