Skip to content
/ dvna Public
forked from appsecco/dvna

Damn Vulnerable NodeJS Application

License

Notifications You must be signed in to change notification settings

orf53975/dvna

Repository files navigation

Damn Vulnerable NodeJS Application (DVNA)

Damn Vulnerable NodeJS Application (DVNA) is a simple NodeJS application to demonstrate OWASP Top 10 Vulnerabilities and guide on fixing and avoiding these vulnerabilities. The fixes branch will contain fixes for the vulnerabilities.

The application is powered by commonly used libraries such as express, passport, sequelize, etc.

The application comes with a developer friendly comprehensive guide which can be used to learn, avoid and fix the vulnerabilities. The guide will be available at https://appsecco.github.io/dvna and will contain the following

  1. Instructions for setting up DVNA
  2. Instructions on exploiting the vulnerabilities
  3. Vulnerable code snippets and instructions on fixing vulnerabilities
  4. Recommendations for avoid such vulnerabilities
  5. References for learning more

Quick Start

Setting up the application using docker is the recommended procedure. For detailed instructions and manual setup and please refer to the guide.

Clone this repository

git clone https://github.com/appsecco/dvna; cd dvna

Create a vars.env with the desired database configuration

MYSQL_USER=dvna
MYSQL_DATABASE=dvna
MYSQL_PASSWORD=passw0rd
MYSQL_RANDOM_ROOT_PASSWORD=yes

Start the application and database using docker-compose

docker-compose up

Access the application at http://127.0.0.1:9090/

The application will automatically reload on code changes, so feel free to patch and play around with the application.

TODO

  • Add CONTRIBUTING.md
  • Link commits to fixes in documentation
  • Add new vulnerabilities from OWASP Top 10 2017
  • Improve application features, documentation

Thanks

Abhisek Datta - abhisek for application architecture and front-end code

License

MIT

About

Damn Vulnerable NodeJS Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 68.1%
  • HTML 21.3%
  • JavaScript 8.6%
  • Shell 1.9%
  • Dockerfile 0.1%