GithubHelp home page GithubHelp logo

codepath_wk8's Introduction

Project 8 - Pentesting Live Targets

Time spent: 4 hours spent in total

Objective: Identify vulnerabilities in three different versions of the Globitek website: blue, green, and red.

The six possible exploits are:

  • Username Enumeration
  • Insecure Direct Object Reference (IDOR)
  • SQL Injection (SQLi)
  • Cross-Site Scripting (XSS)
  • Cross-Site Request Forgery (CSRF)
  • Session Hijacking/Fixation

Each version of the site has been given two of the six vulnerabilities. (In other words, all six of the exploits should be assignable to one of the sites.)

Blue

Vulnerability #1: SQL Injection (SQLi)

Instead of an ID number, the attacker enters this command ' OR SLEEP(5)=0--'. Notice how it took around 5 seconds for website to query the data.

Vulnerability #2: Session Hijacking/Fixation

The attacker can log in from the site by using a session ID.

Green

Vulnerability #1: Username Enumeration

Notice that the error message is bolded if username exists. The error message is in plain text if username does not exist.

Vulnerability #2: Cross-Site Scripting (XSS)

Red

Vulnerability #1: Insecure Direct Object Reference (IDOR)

Attacker can access information that is not usually available to the public by changing the id parameter.

Vulnerability #2: Cross-Site Request Forgery (CSRF)

User can update the database even after changing the CSRF token.

Notes

Describe any challenges encountered while doing the work:

  1. For Green#2, viewing the contact page responses is shared by other students. So, their scripts also will trigger.

codepath_wk8's People

Contributors

cpanican avatar

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.