Coder Social home page Coder Social logo

tudo's Introduction

TUDO Favicon

TUDO (Vulnerable PHP Web-App)

MetaData

  • Author: William Moody (@bmdyy)
  • Started: 08.03.2021
  • Languages: PHP, PostgreSQL
  • Created as preparation for the OSWE/AWAE certification exam.

Goals

This is an intentionally vulnerable web application. There are 3 steps to complete the challenge, and multiple ways to complete each step.

  1. You must gain access to either user1, or user2's account (2 possible ways)
  2. Next, gain access to the admin account (1 possible ways)
  3. Finally, find a way to remotely execute arbitrary commands (4 possible ways)

I would suggest to try and find every way to get the most out of TUDO. Bonus: Create a python script which chains together all 3 steps for a complete POC.

Note: The attack for step 2 may take up to a minute to complete, since the admin's actions are emulated with a cron job every minute on the target machine.

This is intended as a white-box penetration test, so open up VSCode, and read.

Default Credentials

  • admin:admin
  • user1:user1
  • user2:user2

How to begin?

  1. Clone the repo: git clone https://github.com/bmdyy/tudo.git
  2. Go into the directory: cd tudo
  3. Execute: ./RUNME.sh
  4. Look in the terminal output and you should see an IP address: AH00558: apache2: ... 172.17.0.2 ...' That is the target!

Note: If you want to shutdown the container, you may use KILL.sh for convenience.

Note 2: I included SHELL.sh as a quick way to run a shell for the docker container

Solutions

There are explanations and solutions for all (intended) ways to solve this machine in /solution.

And finally, good luck!

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.