GithubHelp home page GithubHelp logo

e-mporium-insecure's Introduction

E-mporium

Table of contents

Description

This Insecure Drug Online Shop called E-mporium is an experimental project that showcases the vulnerabilities and risks associated with insecure online shopping platforms. It is intended to be used by developers and security enthusiasts to understand and learn about common security flaws, such as SQL injection, cross-site scripting (XSS), insecure user authentication, and more.

DISCLAIMER: This project is purely for educational purposes and should never be used in any real-world scenario. The use or distribution of illegal drugs is strictly prohibited and may result in severe legal consequences.

Vulnerabilities

The Insecure Drug Online Shop provides a range of intentionally vulnerable features, allowing users to explore and exploit security vulnerabilities in the following areas:

  • RestAPI not authenticated
  • SQL Injection: All API endpoints
  • XSS stored: All API endpoints
  • CSRF: no CSRF token implemented
  • Clickjacking: no X-Frame-Options header implemented
  • CORS: no CORS header implemented
  • Sensitive data exposure: no HTTPS implemented
  • Broken authentication: no password policy implemented
  • Broken access control: no access control implemented
  • Impersonation: session tokens are autoincremental integers
  • Retrieve all files by providing a ".." path query parameter for ComponentProvider and/or AssetsProvider

!! Please note that these vulnerabilities are intentionally included in the project and should not be replicated in any production environment.

Features

TODO

Installation

Prerequisites

Before installing and running the Java Maven Project, ensure that you have the following prerequisites installed on your system:

  • Java Development Kit (JDK): The project requires a compatible JDK version 19 to compile and run the Java code.
  • Maven: Install Maven by following the instructions provided by the Apache Maven project. Make sure Maven is added to your system's PATH variable.

Installation steps

  1. Clone the repository to your local machine.
  2. Navigate to the root directory of the project.
  3. Run the following command to compile the project:
mvn clean install
  1. Run the following command to start the tomcat embedded application:
mvn exec:java -Dexec.mainClass="it.unibz.gangOf3.Runner"

Usage

After starting the application, a tomcat embedded server will be started on port 8080. The application can be accessed by navigating to http://localhost:8080.

License

This project is licensed under the MIT License. See the LICENSE file for details.

e-mporium-insecure's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.