GithubHelp home page GithubHelp logo

alofeoluwafemi / vulnerable-laravel-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appelsiini/vulnerable-laravel-app

0.0 1.0 0.0 594 KB

Vulnerable Laravel application used in various PHP/Laravel security presentations by @anamus_ during 2019.

PHP 79.20% Vue 0.49% HTML 19.25% Dockerfile 1.07%

vulnerable-laravel-app's Introduction

Vulnerable Laravel App

This application was used in my Laracon EU 2019 Amsterdam and PHPCon Poland 2019 presentations to demonstrate the following vulnerabilities that are usually caused by poor development practises or mistakes in your code.

A record of the talk is available on YouTube.

This application contains critical security vulnerabilities, DO NOT deploy or run this application outside of your localhost (or expose your localhost while running this)

Requirements

  • Docker
  • Docker Compose
  • PHP (>v7.1 preferably) & Composer

Installation

  • composer install
  • docker-compose up -d
  • docker exec vuln-app php artisan migrate --seed

Vulnerabilities & tips

SQL Injection

  • There's a vulnerable API endpoint at http://localhost:1234/api/events?sort=id (assuming you're running this in docker)
  • There are many ways to exploit this, if you attended the talk you'll know one very specific tool for this

Object Injection

Privilege Escalation

  • This project's docker compose setup intentionally configures Laravel scheduler to run as root, that's all you need to know ;)

vulnerable-laravel-app's People

Contributors

appelsiini avatar wulfheart avatar

Watchers

James Cloos 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.