High Severity
Published: Jun 24, 2025

[GitHub] VulnVault-A-Deliberately-Insecure-Web-App

Sqli
Type
N/A
CVSS Score
2
Views
Anonymous
Author

Description

A deliberately insecure web app to practice exploiting real-world vulnerabilities like SQL Injection, XSS, CSRF, IDOR, and more. Ideal for ethical hacking, CTF prep, and cybersecurity learning.

# ๐Ÿ” VulnVault

![License](https://img.shields.io/badge/license-MIT-green.svg) ![Made with Flask](https://img.shields.io/badge/Made%20with-Flask-blue.svg) ![Security Education](https://img.shields.io/badge/Purpose-Security%20Training-orange)

> ๐ŸŽฏ A deliberately vulnerable web app built to teach and test real-world security vulnerabilities.
> โœ… Great for portfolios, CTFs, red team practice, and application security education.

---

## ๐ŸŽจ Screenshots

<table>
<tr>
<td><img src="https://github.com/user-attachments/assets/095f84d6-f3c4-4adb-b69c-661c1e2c9b97" alt="Home Page" width="300"></td>
<td><img src="https://github.com/user-attachments/assets/a1dc1921-e67e-413b-8308-26a9d8322432" alt="SQL Injection" width="300"></td>
</tr>

<tr>
<td align="center">Home Page</td>
<td align="center">Login SQLi</td>
</tr>
</table>

---

## ๐Ÿ“ฆ Tech Stack

- **Backend**: Python + Flask
- **Database**: SQLite
- **Frontend**: HTML5, CSS3 (Custom styling)
- **Deployment**: Docker-ready

---

## ๐Ÿ’ฃ Vulnerabilities Included

| Vulnerability | OWASP | Description |
|---------------|-------|-------------|
| ๐Ÿ’ฌ XSS | A7 | User comments render unescaped HTML `c\|safe` |
| ๐Ÿ›‘ SQL Injection | A1 | Login bypass using classic `' OR 1=1 --` |
| ๐Ÿ” CSRF | A5 | Profile update without CSRF tokens |
| ๐Ÿงพ IDOR | A4 | Invoices accessible by changing `/invoice/<id>` |
| ๐Ÿ“Ž Insecure File Upload | A8 | Uploads allow arbitrary file types |
| ๐Ÿง‘โ€๐Ÿ’ป Broken Auth | A2 | No rate limit or session expiration |
| โš™๏ธ Misconfiguration | A6 | Debug mode enabled, stack traces visible |

---

## ๐Ÿš€ Getting Started

### ๐Ÿ”ง Requirements

- Python 3.8+
- pip
- Optional: Docker

### โ–ถ๏ธ Run Locally

```bash
git clone https://github.com/pleontis/VulnVault-A-Deliberately-Insecure-Web-App.git
cd VulnVault-A-Deliberately-Insecure-Web-App
pip install -r requirements.txt
python run.py
````

Then open [http://localhost:5000](http://localhost:5000)

### ๐Ÿณ Docker Setup

```bash
docker build -t vulnvault .
docker run -p 5000:5000

Community Rating
0

Login to rate this exploit

Quick Actions