This repository contains a vulnerable web application for the first project of the Cyber Security Base 2023 course.
This project intentionally contains security vulnerabilities. As such, the code within this repository is for demonstration purposes only and should not be run on public networks or widely distributed.
The project is a basic book review app developed using Django. The following features are included:
- Users can create an account and log in
- Users can read book reviews written by other users
- Users can write and edit book reviews
The app presents multiple security vulnerabilities, aligning with the OWASP Top Ten list of prevalent security risks. A detailed examination of these vulnerabilities is provided here.
To get started with the project, follow these steps:
-
Clone the repository
git clone git@github.com:valtterikantanen/csb-project.git cd csb-project -
Create a virtual environment and activate it
python3 -m venv venv source venv/bin/activateYou can deactivate the virtual environment at any time by running
deactivate. -
Install the dependencies
pip install -r requirements.txt
-
Set up a local database and optionally populate it with sample data
python3 manage.py migrate python3 manage.py loaddata sample
-
Start the development server
python3 manage.py runserver