SkillAgentSearch skills...

AspGoat

AspGoat is an intentionally vulnerable ASP.NET Core application for learning and practicing web application security.

Install / Use

/learn @Soham7-dev/AspGoat

README

AspGoat : A Damn Vulnerable ASP.NET Web Application

<br></br>

<p align="center"> <img src="wwwroot/AspGoatLogo-Github.png" alt="AspGoat Logo" height="700" width="700"/> </p> <h1 align="center">🐐 AspGoat</h1> <p align="center"> <i>An intentionally vulnerable ASP.NET Core web application for learning and practicing Web Application Security.</i> </p> <p align="center"> <a href="https://github.com/Soham7-dev/AspGoat/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/Soham7-dev/AspGoat?style=flat-square&color=blue" alt="license"/> </a> <a href="https://github.com/Soham7-dev/AspGoat/releases"> <img src="https://img.shields.io/github/v/release/Soham7-dev/AspGoat?style=flat-square" alt="release"/> </a> <a href="https://github.com/Soham7-dev/AspGoat/stargazers"> <img src="https://img.shields.io/github/stars/Soham7-dev/AspGoat?style=flat-square&color=yellow" alt="stars"/> </a> <a href="https://github.com/Soham7-dev/AspGoat/network/members"> <img src="https://img.shields.io/github/forks/Soham7-dev/AspGoat?style=flat-square&color=green" alt="forks"/> </a> <a href="https://github.com/Soham7-dev/AspGoat/actions"> <img src="https://img.shields.io/github/actions/workflow/status/Soham7-dev/AspGoat/dotnet.yml?style=flat-square" alt="ci-status"/> </a> <a href="https://hub.docker.com/r/sohamburger/aspgoat"> <img src="https://img.shields.io/docker/pulls/sohamburger/aspgoat?style=flat-square&logo=docker" alt="docker pulls"/> </a> <a href="https://owasp.org/"> <img src="https://img.shields.io/badge/OWASP-Project-purple" alt="OWASP"> </a> <a href="https://dotnet.microsoft.com/"> <img src="https://img.shields.io/badge/.NET-Core-512BD4?style=flat-square&logo=dotnet" alt=".NET Core"/> </a> <a href="https://portswigger.net/burp" target="_blank" rel="noopener"> <img src="https://img.shields.io/badge/burpsuite-proxy-000000?style=flat-square&logo=burpsuite&logoColor=white&labelColor=FF6633" alt="BurpSuite Proxy Badge" /> </a> </p>---

📖 About AspGoat

AspGoat is an intentionally vulnerable ASP.NET Core application that helps Security Engineers and Developers analyze and mitigate common web application vulnerabilities. It includes the OWASP Top 10 and beyond, providing hands-on Application Security challenges.

⚠️ Disclaimer: This project is for educational purposes only. Do not deploy to production environments.


✨ Features

  • 🐞 Intentionally vulnerable ASP.NET Core MVC app
  • 📚 Hands-on labs for:
    • 🐞 Cross-Site Scripting (XSS)
    • 🐞 Cross-Site Request Forgery (CSRF)
    • 🐞 SQL Injection (SQLi)
    • 🐞 XML External Entity (XXE)
    • 🐞 Local File Inclusion (LFI)
    • 🐞 Remote Code Execution (RCE)
    • 🐞 Unrestricted File Upload
    • 🐞 Information Disclosure
    • 🐞 Broken Authentication
    • 🐞 Server-Side Request Forgery (SSRF)
    • 🐞 Insecure Direct Object Reference (IDOR)
    • 🐞 Insecure Deserialization
    • 🐞 Command Injection
    • 🐞 Prototype Pollution
    • 🐞 Cache Poisoning
    • 🐞 Server Side Template Injection (SSTI)
    • 🛡️ Secure vs Insecure coding snippets
    • 🐳 Ready-to-run Docker setup
  • 🤖 AI / LLM Red-Teaming labs covering:
    • 🐞 Prompt Injection
    • 🐞 Excessive Agency
    • 🐞 Insecure Output Handling

🕹️ Demo

Demo


🪛 Installation

1. Using Docker (recommended)

Pull the image

docker pull sohamburger/aspgoat:latest

Run the container

docker run --rm -p 8000:8000 sohamburger/aspgoat:latest

Access the app

http://localhost:8000

2. Using .NET SDK

Download and install the .NET SDK 8.0 (LTS) from:
👉 .NET-Download

(The SDK includes the runtime, so this is all you need to build and run AspGoat from source.)

Clone the repository

git clone https://github.com/Soham7-dev/AspGoat.git
cd AspGoat

Restore Dependencies

dotnet restore

Run the app

dotnet run

Access the app

http://localhost:5073

🧪 Overview

SQLi <br></br> InDe <br></br> FileUp <br></br> SQLi <br></br> SQLi <br></br> SQLi

👥 Contributors

Thanks goes to these wonderful people ✨

<a href="https://github.com/Soham7-dev/AspGoat/graphs/contributors"> <img src="https://contrib.rocks/image?repo=Soham7-dev/AspGoat&anon=1" /> </a>

Made with contrib.rocks.


📝 NOTE

The default username for AspGoat is admin and the default password is admin123. The 🐞 Unrestricted File Upload Lab can break the application. A Hard Reset feature is currently under development which will reset the application (not yet released). As of now, if you break the application during exploitation of the Lab, your only option is cloning the Project again and restart the application. The Client Side JavaScript is obfuscated due to obvious cheating possibilities for Secure Coding challenges. However, there are several tools available for de-obfuscating the JavaScript code and retrieve the clean code again but that is not the core purpose of this Project.

View on GitHub
GitHub Stars98
CategoryDevelopment
Updated12d ago
Forks72

Languages

JavaScript

Security Score

100/100

Audited on Mar 14, 2026

No findings