This project was about creating a vulnerable application by introducing the top 10 OWASP 2017 vulnerabilities.
This repositories contains three websites :
- The vulnerable website in the folder
insecureWebsite
. - The "fixed" website in the folder
secureWebsite
. - A "support" malicious website used to intercept data in the folder
hackerWebsite
.
- WAMP
- Copy all files to your web server directory
- Right-click on WAMP icon in the taskbar -> Tools -> Command Prompt -> MYSQL/bin
- Type
mysql.exe -uroot
in the command prompt and press enter - Type the following SQL commands :
CREATE DATABASE owasp;
GRANT ALL ON *.* TO 'root'@'%';
- Type
- Go to "http://my_web_server/insecureWebsite/install.php"
- This script will setup the database for you
- Go to "http://my_web_server/insecureWebsite/index.php"
- You should be able to login with
admin
as login andAzertyuiop09
as password - You should be able to login with
alice
as login andAzertyuiop09
as password - You should be able to login with
bob
as login andpassword
as password
- You should be able to login with
- A1. Injection
- A2. Broken Authentication
- A3. Sensitive Data Exposure
- A4. XML External Entities
- A5. Broken Access Control
- A6. Security Misconfiguration
- A7. Cross-site scripting (XSS)
- A8. Insecure Deserialization
- A9. Using components with known vulnerabilities
- A10. Insufficient Logging & Monitoring