Coder Social home page Coder Social logo

anothervulnerablewebapp's Introduction

Simple vulnerable site, created by a beginner for beginners. This vulnerable site covers several vulnerabilities some from real bugbounty cases encountered in bugbounty, can you find them ?

Installation

apt-get update && apt-get upgrade -y
apt-get install apache2 php php-mysql mariadb-server
a2enmod rewrite
git clone https://github.com/lucasmartinelle/AnotherVulnerableWebApp
mv AnotherVulnerableWebApp/ /var/www/html/
chown www-data:www-data /var/www/html/ -R && chmod 775 /var/www/html/ -R

Create the database :

mysql -u root
CREATE DATABASE vulnerability;
GRANT ALL ON vulnerability.* TO 'vulnerability'@'localhost' IDENTIFIED BY '6xUm%3moNghtQaZ8Q';
FLUSH PRIVILEGES;
quit

If you want, change the password for vulnerability user and also in /var/www/html/AnotherVulnerableWebApp/app/init.php

Import the SQL File :

cd /var/www/html/AnotherVulnerableWebApp/
mysql -u root vulnerability < base.sql

Uncomment extension=pdo_mysql on /etc/php/{version}/apache2/php.ini
Change AllowOverride None to AllowOverride All line 172 on /etc/apache2/apache2.conf

On /etc/apache2/sites-enabled/000-default.conf change DocumentRoot /var/www/html/ by DocumentRoot /var/www/html/AnotherVulnerableWebApp on line 12

Restart apache2 :

systemctl restart apache2

Solutions :

You can get information about the current vulnerabilities / solutions here with more or less details, the goal being that you also do research on your side to better understand them and build your own methodology / payloads

Contributions :

This repository is for beginners, don't hesitate to create a PR to improve the code, add vulnerabilities, submit your writeup :)

anothervulnerablewebapp's People

Contributors

joshuamart avatar lucasmartinelle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.