Skip to content

Sytechia/ExploitMe

Repository files navigation

Welcome to ExploitMe!

The most vulnerable web application tool for training purposes


In this web application, it covers the basics of the OWASP top 10 list created using ASP.NET Core.

The OWASP top 10 vulnerabilities included in this web application are:

  • SQL Injection
  • Broken Authentication
  • Sensitive Data Exposure
  • XML External Entities (XXE)
  • Broken Access Control
  • Security Misconfiguration
  • Cross-Site Scripting (XSS)
  • Insecure Deserialization
  • Using Components with known vulnerabilities
  • Insufficient Logging & Monitoring

Requirements

  1. .NET Core Version 3.1
  2. OWASP ZAP https://www.zaproxy.org/download/
  3. Docker
  4. Git https://git-scm.com/downloads
  5. Linux Kernel https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package

Running and Building

Visual Studio
  1. Clone the repository https://github.com/Sytechia/Exploit_me.git using Visual Studio
  2. Open the file in Visual Studio and run it
Docker
  1. Clone the repository https://github.com/Sytechia/Exploit_me.git
  2. Go to the directory of the folder.
  3. Build the app
    docker build -t myapp .
  4. Run the web app for the first time
    docker run -d -p 8080:80 --name myapp myapp
  5. Stop the app to move the database file from the folder to the container
    docker stop myapp
  6. Go into the location of the database file
    cd Exploit_Me
  7. Copy the file over
    docker cp database.db myapp:/app/database.db
  8. Start the container
    docker start myapp
  9. Go to localhost:8080
    Or
    Type ipconfig into the command prompt to check for your IP address. The url would be <your ipv4 address>:8080

Troubleshooting

Docker command not recognized

Install Docker Desktop
https://docs.docker.com/docker-for-windows/install/

Docker WSL 2 not installed

Install linux kernel
https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package

Windows Subsystem not enabled
  1. Open PowerShell as Administrator and run: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  2. Restart PC.

*** Known Issue

  • Due to Docker containerizing our app, XML attack to read sensitive data in our database will not work, the challenge will still be counted as correct if you manage to put in the correct syntax.
  • Billion Laughs atatck in Docker cannot be tracked due to docker being a seperate entity from the Host machine.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published